@@ -171,7 +171,7 @@ static const uint64_t perf_bitmasks[] = {
171171
172172/*
173173 * Write control bitmasks for Pa-8700 processor given
174- * somethings have changed slightly.
174+ * some things have changed slightly.
175175 */
176176static const uint64_t perf_bitmasks_piranha [] = {
177177 0x0000000000000000ul , /* first dbl word must be zero */
@@ -576,27 +576,27 @@ static int perf_stop_counters(uint32_t *raddr)
576576 if (!perf_rdr_read_ubuf (16 , userbuf ))
577577 return -13 ;
578578
579- /* Counter0 is bits 1398 thru 1429 */
579+ /* Counter0 is bits 1398 to 1429 */
580580 tmp64 = (userbuf [21 ] << 22 ) & 0x00000000ffc00000 ;
581581 tmp64 |= (userbuf [22 ] >> 42 ) & 0x00000000003fffff ;
582582 /* OR sticky0 (bit 1430) to counter0 bit 32 */
583583 tmp64 |= (userbuf [22 ] >> 10 ) & 0x0000000080000000 ;
584584 raddr [0 ] = (uint32_t )tmp64 ;
585585
586- /* Counter1 is bits 1431 thru 1462 */
586+ /* Counter1 is bits 1431 to 1462 */
587587 tmp64 = (userbuf [22 ] >> 9 ) & 0x00000000ffffffff ;
588588 /* OR sticky1 (bit 1463) to counter1 bit 32 */
589589 tmp64 |= (userbuf [22 ] << 23 ) & 0x0000000080000000 ;
590590 raddr [1 ] = (uint32_t )tmp64 ;
591591
592- /* Counter2 is bits 1464 thru 1495 */
592+ /* Counter2 is bits 1464 to 1495 */
593593 tmp64 = (userbuf [22 ] << 24 ) & 0x00000000ff000000 ;
594594 tmp64 |= (userbuf [23 ] >> 40 ) & 0x0000000000ffffff ;
595595 /* OR sticky2 (bit 1496) to counter2 bit 32 */
596596 tmp64 |= (userbuf [23 ] >> 8 ) & 0x0000000080000000 ;
597597 raddr [2 ] = (uint32_t )tmp64 ;
598598
599- /* Counter3 is bits 1497 thru 1528 */
599+ /* Counter3 is bits 1497 to 1528 */
600600 tmp64 = (userbuf [23 ] >> 7 ) & 0x00000000ffffffff ;
601601 /* OR sticky3 (bit 1529) to counter3 bit 32 */
602602 tmp64 |= (userbuf [23 ] << 25 ) & 0x0000000080000000 ;
@@ -618,7 +618,7 @@ static int perf_stop_counters(uint32_t *raddr)
618618 userbuf [23 ] = 0 ;
619619
620620 /*
621- * Write back the zero'ed bytes + the image given
621+ * Write back the zeroed bytes + the image given
622622 * the read was destructive.
623623 */
624624 perf_rdr_write (16 , userbuf );
0 commit comments