Skip to content

Commit 7022672

Browse files
nomisKyle McMartin
authored andcommitted
[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>
1 parent b5e8b73 commit 7022672

13 files changed

Lines changed: 30 additions & 30 deletions

File tree

‎arch/parisc/kernel/firmware.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ EXPORT_SYMBOL(pdc_lan_station_id);
634634
* pdc_stable_read - Read data from Stable Storage.
635635
* @staddr: Stable Storage address to access.
636636
* @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.
638638
*
639639
* This PDC call reads from the Stable Storage address supplied in staddr
640640
* and copies count bytes to the memory address memaddr.
@@ -660,7 +660,7 @@ EXPORT_SYMBOL(pdc_stable_read);
660660
* pdc_stable_write - Write data to Stable Storage.
661661
* @staddr: Stable Storage address to access.
662662
* @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.
664664
*
665665
* This PDC call reads count bytes from the supplied memaddr address,
666666
* and copies count bytes to the Stable Storage address staddr.

‎arch/parisc/kernel/perf.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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
*/
176176
static 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);

‎arch/parisc/kernel/processor.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ extern int update_cr16_clocksource(void); /* from time.c */
6363
** will call register_parisc_driver(&cpu_driver) before calling do_inventory().
6464
**
6565
** 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.
6767
** The code path not shared is how PDC hands control of the CPU to the OS.
6868
** The initialization of OS data structures is the same (done below).
6969
*/
@@ -166,7 +166,7 @@ static int __init processor_probe(struct parisc_device *dev)
166166
#endif
167167

168168
/*
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
170170
** OS control. RENDEZVOUS is the default state - see mem_set above.
171171
** p->state = STATE_RENDEZVOUS;
172172
*/
@@ -334,7 +334,7 @@ int __init init_per_cpu(int cpunum)
334334
}
335335

336336
/*
337-
* Display cpu info for all cpu's.
337+
* Display CPU info for all CPUs.
338338
*/
339339
int
340340
show_cpuinfo (struct seq_file *m, void *v)
@@ -393,7 +393,7 @@ static struct parisc_driver cpu_driver __read_mostly = {
393393
};
394394

395395
/**
396-
* processor_init - Processor initalization procedure.
396+
* processor_init - Processor initialization procedure.
397397
*
398398
* Register this driver.
399399
*/

‎arch/parisc/kernel/setup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void __init setup_arch(char **cmdline_p)
162162
}
163163

164164
/*
165-
* Display cpu info for all cpu's.
165+
* Display CPU info for all CPUs.
166166
* for parisc this is in processor.c
167167
*/
168168
extern int show_cpuinfo (struct seq_file *m, void *v);

‎arch/parisc/kernel/signal32.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ int copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from);
113113
/* In a deft move of uber-hackery, we decide to carry the top half of all
114114
* 64-bit registers in a non-portable, non-ABI, hidden structure.
115115
* 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
117117
* ucontext_t structure may push the hidden register file downards
118118
*/
119119
struct compat_regfile {

‎arch/parisc/kernel/smp.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
** Lots of stuff stolen from arch/alpha/kernel/smp.c
99
** ...and then parisc stole from arch/ia64/kernel/smp.c. Thanks David! :^)
1010
**
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.
1212
** -grant (1/12/2001)
1313
**
1414
** This program is free software; you can redistribute it and/or modify
@@ -419,7 +419,7 @@ smp_cpu_init(int cpunum)
419419
BUG();
420420
enter_lazy_tlb(&init_mm, current);
421421

422-
init_IRQ(); /* make sure no IRQ's are enabled or pending */
422+
init_IRQ(); /* make sure no IRQs are enabled or pending */
423423
start_cpu_itimer();
424424
}
425425

@@ -552,7 +552,7 @@ void __devinit smp_prepare_boot_cpu(void)
552552

553553
/*
554554
** 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.
556556
*/
557557
void __init smp_prepare_cpus(unsigned int max_cpus)
558558
{

‎arch/parisc/kernel/time.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ int update_cr16_clocksource(void)
191191
{
192192
int change = 0;
193193

194-
/* since the cr16 cycle counters are not syncronized across CPUs,
194+
/* since the cr16 cycle counters are not synchronized across CPUs,
195195
we'll check if we should switch to a safe clocksource: */
196196
if (clocksource_cr16.rating != 0 && num_online_cpus() > 1) {
197197
clocksource_change_rating(&clocksource_cr16, 0);

‎arch/parisc/kernel/traps.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ void handle_interruption(int code, struct pt_regs *regs)
615615

616616
case 13:
617617
/* Conditional Trap
618-
The condition succees in an instruction which traps
618+
The condition succeeds in an instruction which traps
619619
on condition */
620620
if(user_mode(regs)){
621621
si.si_signo = SIGFPE;

‎arch/parisc/math-emu/dbl_float.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
PA header file -- do not include this header file for non-PA builds.
2323
#endif
2424

25-
/* 32-bit word grabing functions */
25+
/* 32-bit word grabbing functions */
2626
#define Dbl_firstword(value) Dallp1(value)
2727
#define Dbl_secondword(value) Dallp2(value)
2828
#define Dbl_thirdword(value) dummy_location
@@ -37,7 +37,7 @@
3737
#define Dbl_allp1(object) Dallp1(object)
3838
#define Dbl_allp2(object) Dallp2(object)
3939

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
4141
* into the first argument. dbl_or_signs ors those same sign bits */
4242
#define Dbl_and_signs( src1dst, src2) \
4343
Dallp1(src1dst) = (Dallp1(src2)|~((unsigned int)1<<31)) & Dallp1(src1dst)

‎arch/parisc/math-emu/dfsqrt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ dbl_fsqrt(
7676
}
7777
/*
7878
* Return quiet NaN or positive infinity.
79-
* Fall thru to negative test if negative infinity.
79+
* Fall through to negative test if negative infinity.
8080
*/
8181
if (Dbl_iszero_sign(srcp1) ||
8282
Dbl_isnotzero_mantissa(srcp1,srcp2)) {

0 commit comments

Comments
 (0)