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

spelling fixes: arch/cris/

Spelling fixes in arch/cris/.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Adrian Bunk <bunk@kernel.org>

authored by

Simon Arlott and committed by
Adrian Bunk
49b4ff33 c3a2ddee

+42 -42
+1 -1
arch/cris/arch-v10/boot/compressed/misc.c
··· 8 8 * 9 9 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 10 10 * puts by Nick Holloway 1993, better puts by Martin Mares 1995 11 - * adoptation for Linux/CRIS Axis Communications AB, 1999 11 + * adaptation for Linux/CRIS Axis Communications AB, 1999 12 12 * 13 13 */ 14 14
+1 -1
arch/cris/arch-v10/kernel/debugport.c
··· 83 83 * 84 84 * Revision 1.4 2002/11/19 14:35:24 starvik 85 85 * Changes from linux 2.4 86 - * Changed struct initializer syntax to the currently prefered notation 86 + * Changed struct initializer syntax to the currently preferred notation 87 87 * 88 88 * Revision 1.3 2002/11/06 09:47:03 starvik 89 89 * Modified for new interrupt macros
+1 -1
arch/cris/arch-v10/kernel/fasttimer.c
··· 84 84 * with time based on jiffies and *R_TIMER0_DATA, uses a table 85 85 * for fast conversion of timer value to microseconds. 86 86 * (Much faster the standard do_gettimeofday() and we don't really 87 - * wan't to use the true time - we wan't the "uptime" so timers don't screw up 87 + * want to use the true time - we want the "uptime" so timers don't screw up 88 88 * when we change the time. 89 89 * TODO: Add efficient support for continuous timers as well. 90 90 *
+1 -1
arch/cris/arch-v10/kernel/irq.c
··· 169 169 for (i = 0; i < 256; i++) 170 170 etrax_irv->v[i] = weird_irq; 171 171 172 - /* Initialize IRQ handler descriptiors. */ 172 + /* Initialize IRQ handler descriptors. */ 173 173 for(i = 2; i < NR_IRQS; i++) { 174 174 irq_desc[i].chip = &crisv10_irq_type; 175 175 set_int_vector(i, interrupt[i]);
+1 -1
arch/cris/arch-v10/kernel/process.c
··· 64 64 #if defined(CONFIG_ETRAX_WATCHDOG) && !defined(CONFIG_SVINTO_SIM) 65 65 cause_of_death = 0xbedead; 66 66 #else 67 - /* Since we dont plan to keep on reseting the watchdog, 67 + /* Since we dont plan to keep on resetting the watchdog, 68 68 the key can be arbitrary hence three */ 69 69 *R_WATCHDOG = IO_FIELD(R_WATCHDOG, key, 3) | 70 70 IO_STATE(R_WATCHDOG, enable, start);
+1 -1
arch/cris/arch-v10/kernel/shadows.c
··· 20 20 * These are only usable if there actually IS a latch connected 21 21 * to the corresponding external chip-select pin. 22 22 * 23 - * A common usage is that CSP0 controls LED's and CSP4 video chips. 23 + * A common usage is that CSP0 controls LEDs and CSP4 video chips. 24 24 */ 25 25 26 26 unsigned long port_cse1_shadow;
+1 -1
arch/cris/arch-v10/lib/string.c
··· 41 41 Make sure the compiler is able to make something useful of this. 42 42 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 43 43 44 - If gcc was allright, it really would need no temporaries, and no 44 + If gcc was alright, it really would need no temporaries, and no 45 45 stack space to save stuff on. */ 46 46 47 47 register void *return_dst __asm__ ("r10") = pdst;
+3 -3
arch/cris/arch-v10/lib/usercopy.c
··· 38 38 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 39 39 40 40 FIXME: Comment for old gcc version. Check. 41 - If gcc was allright, it really would need no temporaries, and no 41 + If gcc was alright, it really would need no temporaries, and no 42 42 stack space to save stuff on. */ 43 43 44 44 register char *dst __asm__ ("r13") = pdst; ··· 200 200 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 201 201 202 202 FIXME: Comment for old gcc version. Check. 203 - If gcc was allright, it really would need no temporaries, and no 203 + If gcc was alright, it really would need no temporaries, and no 204 204 stack space to save stuff on. */ 205 205 206 206 register char *dst __asm__ ("r13") = pdst; ··· 380 380 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 381 381 382 382 FIXME: Comment for old gcc version. Check. 383 - If gcc was allright, it really would need no temporaries, and no 383 + If gcc was alright, it really would need no temporaries, and no 384 384 stack space to save stuff on. */ 385 385 386 386 register char *dst __asm__ ("r13") = pto;
+3 -3
arch/cris/arch-v32/boot/compressed/misc.c
··· 8 8 * 9 9 * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 10 10 * puts by Nick Holloway 1993, better puts by Martin Mares 1995 11 - * adoptation for Linux/CRIS Axis Communications AB, 1999 11 + * adaptation for Linux/CRIS Axis Communications AB, 1999 12 12 * 13 13 */ 14 14 ··· 151 151 do { 152 152 rs = REG_RD(ser, regi_ser, rs_stat_din); 153 153 } 154 - while (!rs.tr_rdy);/* Wait for tranceiver. */ 154 + while (!rs.tr_rdy);/* Wait for transceiver. */ 155 155 156 156 REG_WR(ser, regi_ser, rw_dout, dout); 157 157 } ··· 264 264 tr_ctrl.stop_bits = 1; /* 2 stop bits. */ 265 265 266 266 /* 267 - * The baudrate setup is a bit fishy, but in the end the tranceiver is 267 + * The baudrate setup is a bit fishy, but in the end the transceiver is 268 268 * set to 4800 and the receiver to 115200. The magic value is 269 269 * 29.493 MHz. 270 270 */
+1 -1
arch/cris/arch-v32/drivers/axisflashmap.c
··· 205 205 /* 206 206 * Probe each chip select individually for flash chips. If there are chips on 207 207 * both cse0 and cse1, the mtd_info structs will be concatenated to one struct 208 - * so that MTD partitions can cross chip boundries. 208 + * so that MTD partitions can cross chip boundaries. 209 209 * 210 210 * The only known restriction to how you can mount your chips is that each 211 211 * chip select must hold similar flash chips. But you need external hardware
+1 -1
arch/cris/arch-v32/drivers/i2c.c
··· 275 275 ack = 0; 276 276 i2c_delay(CLOCK_HIGH_TIME/2); 277 277 if(!ack){ 278 - if(!i2c_getbit()) /* receiver pulld SDA low */ 278 + if(!i2c_getbit()) /* receiver pulled SDA low */ 279 279 ack = 1; 280 280 i2c_delay(CLOCK_HIGH_TIME/2); 281 281 }
+1 -1
arch/cris/arch-v32/drivers/nandflash.c
··· 138 138 /* Enable the following for a flash based bad block table */ 139 139 this->options = NAND_USE_FLASH_BBT; 140 140 141 - /* Scan to find existance of the device */ 141 + /* Scan to find existence of the device */ 142 142 if (nand_scan (crisv32_mtd, 1)) { 143 143 err = -ENXIO; 144 144 goto out_ior;
+1 -1
arch/cris/arch-v32/kernel/fasttimer.c
··· 97 97 * with time based on jiffies and *R_TIMER0_DATA, uses a table 98 98 * for fast conversion of timer value to microseconds. 99 99 * (Much faster the standard do_gettimeofday() and we don't really 100 - * wan't to use the true time - we wan't the "uptime" so timers don't screw up 100 + * want to use the true time - we want the "uptime" so timers don't screw up 101 101 * when we change the time. 102 102 * TODO: Add efficient support for continuous timers as well. 103 103 *
+4 -4
arch/cris/arch-v32/kernel/irq.c
··· 140 140 spin_lock_irqsave(&irq_lock, flags); 141 141 intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask); 142 142 143 - /* Remember; 1 let thru, 0 block. */ 143 + /* Remember; 1 let through, 0 block. */ 144 144 intr_mask &= ~(1 << (irq - FIRST_IRQ)); 145 145 146 146 REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); ··· 156 156 spin_lock_irqsave(&irq_lock, flags); 157 157 intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask); 158 158 159 - /* Remember; 1 let thru, 0 block. */ 159 + /* Remember; 1 let through, 0 block. */ 160 160 intr_mask |= (1 << (irq - FIRST_IRQ)); 161 161 162 162 REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); ··· 308 308 */ 309 309 irq_enter(); 310 310 311 - /* Get which IRQs that happend. */ 311 + /* Get which IRQs that happened. */ 312 312 masked = REG_RD_INT(intr_vect, irq_regs[cpu], r_masked_vect); 313 313 314 314 /* Calculate new IRQ mask with these IRQs disabled. */ ··· 366 366 for (i = 0; i < 256; i++) 367 367 etrax_irv->v[i] = weird_irq; 368 368 369 - /* Point all IRQ's to bad handlers. */ 369 + /* Point all IRQs to bad handlers. */ 370 370 for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) { 371 371 irq_desc[j].chip = &crisv32_irq_type; 372 372 set_exception_vector(i, interrupt[j]);
+1 -1
arch/cris/arch-v32/kernel/process.c
··· 162 162 /* Put the switch stack right below the pt_regs. */ 163 163 swstack = ((struct switch_stack *) childregs) - 1; 164 164 165 - /* Paramater to ret_from_sys_call. 0 is don't restart the syscall. */ 165 + /* Parameter to ret_from_sys_call. 0 is don't restart the syscall. */ 166 166 swstack->r9 = 0; 167 167 168 168 /*
+2 -2
arch/cris/arch-v32/kernel/signal.c
··· 347 347 /* Grab and setup a signal frame. 348 348 * 349 349 * Basically a lot of state-info is stacked, and arranged for the 350 - * user-mode program to return to the kernel using either a trampiline 350 + * user-mode program to return to the kernel using either a trampoline 351 351 * which performs the syscall sigreturn(), or a provided user-mode 352 352 * trampoline. 353 353 */ ··· 641 641 user_regs(ti)->spc = 0; 642 642 } 643 643 /* FIXME: Filter out false h/w breakpoint hits (i.e. EDA 644 - not withing any configured h/w breakpoint range). Synchronize with 644 + not within any configured h/w breakpoint range). Synchronize with 645 645 what already exists for kernel debugging. */ 646 646 if (((user_regs(ti)->exs & 0xff00) >> 8) == BREAK_8_INTR_VECT) { 647 647 /* Break 8: subtract 2 from ERP unless in a delay slot. */
+1 -1
arch/cris/arch-v32/kernel/smp.c
··· 142 142 return -1; 143 143 } 144 144 145 - /* Secondary CPUs starts uing C here. Here we need to setup CPU 145 + /* Secondary CPUs starts using C here. Here we need to setup CPU 146 146 * specific stuff such as the local timer and the MMU. */ 147 147 void __init smp_callin(void) 148 148 {
+1 -1
arch/cris/arch-v32/kernel/time.c
··· 99 99 /* From timer MDS describing the hardware watchdog: 100 100 * 4.3.1 Watchdog Operation 101 101 * The watchdog timer is an 8-bit timer with a configurable start value. 102 - * Once started the whatchdog counts downwards with a frequency of 763 Hz 102 + * Once started the watchdog counts downwards with a frequency of 763 Hz 103 103 * (100/131072 MHz). When the watchdog counts down to 1, it generates an 104 104 * NMI (Non Maskable Interrupt), and when it counts down to 0, it resets the 105 105 * chip.
+1 -1
arch/cris/arch-v32/kernel/traps.c
··· 105 105 106 106 /* 107 107 * This gets called from entry.S when the watchdog has bitten. Show something 108 - * similiar to an Oops dump, and if the kernel if configured to be a nice doggy; 108 + * similar to an Oops dump, and if the kernel is configured to be a nice doggy; 109 109 * halt instead of reboot. 110 110 */ 111 111 void
+1 -1
arch/cris/arch-v32/lib/string.c
··· 41 41 Make sure the compiler is able to make something useful of this. 42 42 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 43 43 44 - If gcc was allright, it really would need no temporaries, and no 44 + If gcc was alright, it really would need no temporaries, and no 45 45 stack space to save stuff on. */ 46 46 47 47 register void *return_dst __asm__ ("r10") = pdst;
+3 -3
arch/cris/arch-v32/lib/usercopy.c
··· 34 34 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 35 35 36 36 FIXME: Comment for old gcc version. Check. 37 - If gcc was allright, it really would need no temporaries, and no 37 + If gcc was alright, it really would need no temporaries, and no 38 38 stack space to save stuff on. */ 39 39 40 40 register char *dst __asm__ ("r13") = pdst; ··· 168 168 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 169 169 170 170 FIXME: Comment for old gcc version. Check. 171 - If gcc was allright, it really would need no temporaries, and no 171 + If gcc was alright, it really would need no temporaries, and no 172 172 stack space to save stuff on. */ 173 173 174 174 register char *dst __asm__ ("r13") = pdst; ··· 332 332 As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). 333 333 334 334 FIXME: Comment for old gcc version. Check. 335 - If gcc was allright, it really would need no temporaries, and no 335 + If gcc was alright, it really would need no temporaries, and no 336 336 stack space to save stuff on. */ 337 337 338 338 register char *dst __asm__ ("r13") = pto;
+3 -3
arch/cris/arch-v32/mm/tlb.c
··· 30 30 * The TLB can host up to 256 different mm contexts at the same time. The running 31 31 * context is found in the PID register. Each TLB entry contains a page_id that 32 32 * has to match the PID register to give a hit. page_id_map keeps track of which 33 - * mm's is assigned to which page_id's, making sure it's known when to 34 - * invalidate TLB entries. 33 + * mm is assigned to which page_id, making sure it's known when to invalidate TLB 34 + * entries. 35 35 * 36 36 * The last page_id is never running, it is used as an invalid page_id so that 37 37 * it's possible to make TLB entries that will nerver match. ··· 188 188 spin_unlock(&mmu_context_lock); 189 189 190 190 /* 191 - * Remember the pgd for the fault handlers. Keep a seperate copy of it 191 + * Remember the pgd for the fault handlers. Keep a separate copy of it 192 192 * because current and active_mm might be invalid at points where 193 193 * there's still a need to derefer the pgd. 194 194 */
+4 -4
arch/cris/kernel/irq.c
··· 7 7 * Authors: Bjorn Wesen (bjornw@axis.com) 8 8 * 9 9 * This file contains the code used by various IRQ handling routines: 10 - * asking for different IRQ's should be done through these routines 10 + * asking for different IRQs should be done through these routines 11 11 * instead of just grabbing them. Thus setups with different IRQ numbers 12 12 * shouldn't result in any weird surprises, and installing new handlers 13 13 * should be easier. ··· 15 15 */ 16 16 17 17 /* 18 - * IRQ's are in fact implemented a bit like signal handlers for the kernel. 18 + * IRQs are in fact implemented a bit like signal handlers for the kernel. 19 19 * Naturally it's not a 1:1 relation, but there are similarities. 20 20 */ 21 21 ··· 83 83 84 84 85 85 /* called by the assembler IRQ entry functions defined in irq.h 86 - * to dispatch the interrupts to registred handlers 86 + * to dispatch the interrupts to registered handlers 87 87 * interrupts are disabled upon entry - depending on if the 88 - * interrupt was registred with IRQF_DISABLED or not, interrupts 88 + * interrupt was registered with IRQF_DISABLED or not, interrupts 89 89 * are re-enabled or not. 90 90 */ 91 91
+2 -2
arch/cris/mm/fault.c
··· 13 13 * Fixed warning. 14 14 * 15 15 * Revision 1.18 2005/01/12 08:10:14 starvik 16 - * Readded the change of frametype when handling kernel page fault fixup 16 + * Re-added the change of frametype when handling kernel page fault fixup 17 17 * for v10. This is necessary to avoid that the CPU remakes the faulting 18 18 * access. 19 19 * ··· 49 49 * 50 50 * Revision 1.8 2003/07/04 13:02:48 tobiasa 51 51 * Moved code snippet from arch/cris/mm/fault.c that searches for fixup code 52 - * to seperate function in arch-specific files. 52 + * to separate function in arch-specific files. 53 53 * 54 54 * Revision 1.7 2003/01/22 06:48:38 starvik 55 55 * Fixed warnings issued by GCC 3.2.1
+1 -1
arch/cris/mm/init.c
··· 8 8 * 9 9 * $Log: init.c,v $ 10 10 * Revision 1.11 2004/05/28 09:28:56 starvik 11 - * Calculation of loops_per_usec moved because initalization order has changed 11 + * Calculation of loops_per_usec moved because initialization order has changed 12 12 * in Linux 2.6. 13 13 * 14 14 * Revision 1.10 2004/05/14 07:58:05 starvik
+1 -1
arch/cris/mm/tlb.c
··· 16 16 /* The TLB can host up to 64 different mm contexts at the same time. 17 17 * The running context is R_MMU_CONTEXT, and each TLB entry contains a 18 18 * page_id that has to match to give a hit. In page_id_map, we keep track 19 - * of which mm's we have assigned which page_id's, so that we know when 19 + * of which mm we have assigned to which page_id, so that we know when 20 20 * to invalidate TLB entries. 21 21 * 22 22 * The last page_id is never running - it is used as an invalid page_id