Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PARISC] spelling fixes: arch/parisc/

Spelling fixes in arch/parisc/.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Acked-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>

authored by

Simon Arlott and committed by
Kyle McMartin
7022672e b5e8b733

+30 -30
+2 -2
arch/parisc/kernel/firmware.c
··· 634 634 * pdc_stable_read - Read data from Stable Storage. 635 635 * @staddr: Stable Storage address to access. 636 636 * @memaddr: The memory address where Stable Storage data shall be copied. 637 - * @count: number of bytes to transfert. count is multiple of 4. 637 + * @count: number of bytes to transfer. count is multiple of 4. 638 638 * 639 639 * This PDC call reads from the Stable Storage address supplied in staddr 640 640 * and copies count bytes to the memory address memaddr. ··· 660 660 * pdc_stable_write - Write data to Stable Storage. 661 661 * @staddr: Stable Storage address to access. 662 662 * @memaddr: The memory address where Stable Storage data shall be read from. 663 - * @count: number of bytes to transfert. count is multiple of 4. 663 + * @count: number of bytes to transfer. count is multiple of 4. 664 664 * 665 665 * This PDC call reads count bytes from the supplied memaddr address, 666 666 * and copies count bytes to the Stable Storage address staddr.
+6 -6
arch/parisc/kernel/perf.c
··· 171 171 172 172 /* 173 173 * Write control bitmasks for Pa-8700 processor given 174 - * somethings have changed slightly. 174 + * some things have changed slightly. 175 175 */ 176 176 static const uint64_t perf_bitmasks_piranha[] = { 177 177 0x0000000000000000ul, /* first dbl word must be zero */ ··· 576 576 if (!perf_rdr_read_ubuf(16, userbuf)) 577 577 return -13; 578 578 579 - /* Counter0 is bits 1398 thru 1429 */ 579 + /* Counter0 is bits 1398 to 1429 */ 580 580 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; 581 581 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; 582 582 /* OR sticky0 (bit 1430) to counter0 bit 32 */ 583 583 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; 584 584 raddr[0] = (uint32_t)tmp64; 585 585 586 - /* Counter1 is bits 1431 thru 1462 */ 586 + /* Counter1 is bits 1431 to 1462 */ 587 587 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; 588 588 /* OR sticky1 (bit 1463) to counter1 bit 32 */ 589 589 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; 590 590 raddr[1] = (uint32_t)tmp64; 591 591 592 - /* Counter2 is bits 1464 thru 1495 */ 592 + /* Counter2 is bits 1464 to 1495 */ 593 593 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; 594 594 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; 595 595 /* OR sticky2 (bit 1496) to counter2 bit 32 */ 596 596 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; 597 597 raddr[2] = (uint32_t)tmp64; 598 598 599 - /* Counter3 is bits 1497 thru 1528 */ 599 + /* Counter3 is bits 1497 to 1528 */ 600 600 tmp64 = (userbuf[23] >> 7) & 0x00000000ffffffff; 601 601 /* OR sticky3 (bit 1529) to counter3 bit 32 */ 602 602 tmp64 |= (userbuf[23] << 25) & 0x0000000080000000; ··· 618 618 userbuf[23] = 0; 619 619 620 620 /* 621 - * Write back the zero'ed bytes + the image given 621 + * Write back the zeroed bytes + the image given 622 622 * the read was destructive. 623 623 */ 624 624 perf_rdr_write(16, userbuf);
+4 -4
arch/parisc/kernel/processor.c
··· 63 63 ** will call register_parisc_driver(&cpu_driver) before calling do_inventory(). 64 64 ** 65 65 ** The goal of consolidating CPU initialization into one place is 66 - ** to make sure all CPU's get initialized the same way. 66 + ** to make sure all CPUs get initialized the same way. 67 67 ** The code path not shared is how PDC hands control of the CPU to the OS. 68 68 ** The initialization of OS data structures is the same (done below). 69 69 */ ··· 166 166 #endif 167 167 168 168 /* 169 - ** CONFIG_SMP: init_smp_config() will attempt to get CPU's into 169 + ** CONFIG_SMP: init_smp_config() will attempt to get CPUs into 170 170 ** OS control. RENDEZVOUS is the default state - see mem_set above. 171 171 ** p->state = STATE_RENDEZVOUS; 172 172 */ ··· 334 334 } 335 335 336 336 /* 337 - * Display cpu info for all cpu's. 337 + * Display CPU info for all CPUs. 338 338 */ 339 339 int 340 340 show_cpuinfo (struct seq_file *m, void *v) ··· 393 393 }; 394 394 395 395 /** 396 - * processor_init - Processor initalization procedure. 396 + * processor_init - Processor initialization procedure. 397 397 * 398 398 * Register this driver. 399 399 */
+1 -1
arch/parisc/kernel/setup.c
··· 162 162 } 163 163 164 164 /* 165 - * Display cpu info for all cpu's. 165 + * Display CPU info for all CPUs. 166 166 * for parisc this is in processor.c 167 167 */ 168 168 extern int show_cpuinfo (struct seq_file *m, void *v);
+1 -1
arch/parisc/kernel/signal32.h
··· 113 113 /* In a deft move of uber-hackery, we decide to carry the top half of all 114 114 * 64-bit registers in a non-portable, non-ABI, hidden structure. 115 115 * Userspace can read the hidden structure if it *wants* but is never 116 - * guaranteed to be in the same place. Infact the uc_sigmask from the 116 + * guaranteed to be in the same place. In fact the uc_sigmask from the 117 117 * ucontext_t structure may push the hidden register file downards 118 118 */ 119 119 struct compat_regfile {
+3 -3
arch/parisc/kernel/smp.c
··· 8 8 ** Lots of stuff stolen from arch/alpha/kernel/smp.c 9 9 ** ...and then parisc stole from arch/ia64/kernel/smp.c. Thanks David! :^) 10 10 ** 11 - ** Thanks to John Curry and Ullas Ponnadi. I learned alot from their work. 11 + ** Thanks to John Curry and Ullas Ponnadi. I learned a lot from their work. 12 12 ** -grant (1/12/2001) 13 13 ** 14 14 ** This program is free software; you can redistribute it and/or modify ··· 419 419 BUG(); 420 420 enter_lazy_tlb(&init_mm, current); 421 421 422 - init_IRQ(); /* make sure no IRQ's are enabled or pending */ 422 + init_IRQ(); /* make sure no IRQs are enabled or pending */ 423 423 start_cpu_itimer(); 424 424 } 425 425 ··· 552 552 553 553 /* 554 554 ** inventory.c:do_inventory() hasn't yet been run and thus we 555 - ** don't 'discover' the additional CPU's until later. 555 + ** don't 'discover' the additional CPUs until later. 556 556 */ 557 557 void __init smp_prepare_cpus(unsigned int max_cpus) 558 558 {
+1 -1
arch/parisc/kernel/time.c
··· 191 191 { 192 192 int change = 0; 193 193 194 - /* since the cr16 cycle counters are not syncronized across CPUs, 194 + /* since the cr16 cycle counters are not synchronized across CPUs, 195 195 we'll check if we should switch to a safe clocksource: */ 196 196 if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) { 197 197 clocksource_change_rating(&clocksource_cr16, 0);
+1 -1
arch/parisc/kernel/traps.c
··· 615 615 616 616 case 13: 617 617 /* Conditional Trap 618 - The condition succees in an instruction which traps 618 + The condition succeeds in an instruction which traps 619 619 on condition */ 620 620 if(user_mode(regs)){ 621 621 si.si_signo = SIGFPE;
+2 -2
arch/parisc/math-emu/dbl_float.h
··· 22 22 PA header file -- do not include this header file for non-PA builds. 23 23 #endif 24 24 25 - /* 32-bit word grabing functions */ 25 + /* 32-bit word grabbing functions */ 26 26 #define Dbl_firstword(value) Dallp1(value) 27 27 #define Dbl_secondword(value) Dallp2(value) 28 28 #define Dbl_thirdword(value) dummy_location ··· 37 37 #define Dbl_allp1(object) Dallp1(object) 38 38 #define Dbl_allp2(object) Dallp2(object) 39 39 40 - /* dbl_and_signs ands the sign bits of each argument and puts the result 40 + /* dbl_and_signs ANDs the sign bits of each argument and puts the result 41 41 * into the first argument. dbl_or_signs ors those same sign bits */ 42 42 #define Dbl_and_signs( src1dst, src2) \ 43 43 Dallp1(src1dst) = (Dallp1(src2)|~((unsigned int)1<<31)) & Dallp1(src1dst)
+1 -1
arch/parisc/math-emu/dfsqrt.c
··· 76 76 } 77 77 /* 78 78 * Return quiet NaN or positive infinity. 79 - * Fall thru to negative test if negative infinity. 79 + * Fall through to negative test if negative infinity. 80 80 */ 81 81 if (Dbl_iszero_sign(srcp1) || 82 82 Dbl_isnotzero_mantissa(srcp1,srcp2)) {
+1 -1
arch/parisc/math-emu/sfsqrt.c
··· 76 76 } 77 77 /* 78 78 * Return quiet NaN or positive infinity. 79 - * Fall thru to negative test if negative infinity. 79 + * Fall through to negative test if negative infinity. 80 80 */ 81 81 if (Sgl_iszero_sign(src) || Sgl_isnotzero_mantissa(src)) { 82 82 *dstptr = src;
+2 -2
arch/parisc/math-emu/sgl_float.h
··· 23 23 PA header file -- do not include this header file for non-PA builds. 24 24 #endif 25 25 26 - /* 32-bit word grabing functions */ 26 + /* 32-bit word grabbing functions */ 27 27 #define Sgl_firstword(value) Sall(value) 28 28 #define Sgl_secondword(value) dummy_location 29 29 #define Sgl_thirdword(value) dummy_location ··· 36 36 #define Sgl_exponentmantissa(object) Sexponentmantissa(object) 37 37 #define Sgl_all(object) Sall(object) 38 38 39 - /* sgl_and_signs ands the sign bits of each argument and puts the result 39 + /* sgl_and_signs ANDs the sign bits of each argument and puts the result 40 40 * into the first argument. sgl_or_signs ors those same sign bits */ 41 41 #define Sgl_and_signs( src1dst, src2) \ 42 42 Sall(src1dst) = (Sall(src2)|~((unsigned int)1<<31)) & Sall(src1dst)
+5 -5
arch/parisc/mm/init.c
··· 890 890 #ifdef CONFIG_PA20 891 891 892 892 /* 893 - * Currently, all PA20 chips have 18 bit protection id's, which is the 893 + * Currently, all PA20 chips have 18 bit protection IDs, which is the 894 894 * limiting factor (space ids are 32 bits). 895 895 */ 896 896 ··· 899 899 #else 900 900 901 901 /* 902 - * Currently we have a one-to-one relationship between space id's and 903 - * protection id's. Older parisc chips (PCXS, PCXT, PCXL, PCXL2) only 904 - * support 15 bit protection id's, so that is the limiting factor. 905 - * PCXT' has 18 bit protection id's, but only 16 bit spaceids, so it's 902 + * Currently we have a one-to-one relationship between space IDs and 903 + * protection IDs. Older parisc chips (PCXS, PCXT, PCXL, PCXL2) only 904 + * support 15 bit protection IDs, so that is the limiting factor. 905 + * PCXT' has 18 bit protection IDs, but only 16 bit spaceids, so it's 906 906 * probably not worth the effort for a special case here. 907 907 */ 908 908