diff options
Diffstat (limited to 'arch/cris/arch-v32')
-rw-r--r-- | arch/cris/arch-v32/boot/compressed/misc.c | 6 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/axisflashmap.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/i2c.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/nandflash.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/drivers/pcf8563.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/fasttimer.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/irq.c | 8 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/process.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/signal.c | 4 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/time.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/kernel/traps.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/lib/dram_init.S | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/lib/string.c | 2 | ||||
-rw-r--r-- | arch/cris/arch-v32/lib/usercopy.c | 6 | ||||
-rw-r--r-- | arch/cris/arch-v32/mm/tlb.c | 6 |
16 files changed, 26 insertions, 26 deletions
diff --git a/arch/cris/arch-v32/boot/compressed/misc.c b/arch/cris/arch-v32/boot/compressed/misc.c index 11902697196d..0169ba1ca9c9 100644 --- a/arch/cris/arch-v32/boot/compressed/misc.c +++ b/arch/cris/arch-v32/boot/compressed/misc.c | |||
@@ -8,7 +8,7 @@ | |||
8 | * | 8 | * |
9 | * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 | 9 | * malloc by Hannu Savolainen 1993 and Matthias Urlichs 1994 |
10 | * puts by Nick Holloway 1993, better puts by Martin Mares 1995 | 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,7 +151,7 @@ serout(const char *s, reg_scope_instances regi_ser) | |||
151 | do { | 151 | do { |
152 | rs = REG_RD(ser, regi_ser, rs_stat_din); | 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 | REG_WR(ser, regi_ser, rw_dout, dout); | 156 | REG_WR(ser, regi_ser, rw_dout, dout); |
157 | } | 157 | } |
@@ -264,7 +264,7 @@ serial_setup(reg_scope_instances regi_ser) | |||
264 | tr_ctrl.stop_bits = 1; /* 2 stop bits. */ | 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 | * set to 4800 and the receiver to 115200. The magic value is | 268 | * set to 4800 and the receiver to 115200. The magic value is |
269 | * 29.493 MHz. | 269 | * 29.493 MHz. |
270 | */ | 270 | */ |
diff --git a/arch/cris/arch-v32/drivers/axisflashmap.c b/arch/cris/arch-v32/drivers/axisflashmap.c index 5180d45412fc..3ec12ea44e8e 100644 --- a/arch/cris/arch-v32/drivers/axisflashmap.c +++ b/arch/cris/arch-v32/drivers/axisflashmap.c | |||
@@ -205,7 +205,7 @@ static struct mtd_info *probe_cs(struct map_info *map_cs) | |||
205 | /* | 205 | /* |
206 | * Probe each chip select individually for flash chips. If there are chips on | 206 | * Probe each chip select individually for flash chips. If there are chips on |
207 | * both cse0 and cse1, the mtd_info structs will be concatenated to one struct | 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 | * The only known restriction to how you can mount your chips is that each | 210 | * The only known restriction to how you can mount your chips is that each |
211 | * chip select must hold similar flash chips. But you need external hardware | 211 | * chip select must hold similar flash chips. But you need external hardware |
diff --git a/arch/cris/arch-v32/drivers/i2c.c b/arch/cris/arch-v32/drivers/i2c.c index e12f6cc6f4a2..f1edd2e359b2 100644 --- a/arch/cris/arch-v32/drivers/i2c.c +++ b/arch/cris/arch-v32/drivers/i2c.c | |||
@@ -275,7 +275,7 @@ i2c_getack(void) | |||
275 | ack = 0; | 275 | ack = 0; |
276 | i2c_delay(CLOCK_HIGH_TIME/2); | 276 | i2c_delay(CLOCK_HIGH_TIME/2); |
277 | if(!ack){ | 277 | if(!ack){ |
278 | if(!i2c_getbit()) /* receiver pulld SDA low */ | 278 | if(!i2c_getbit()) /* receiver pulled SDA low */ |
279 | ack = 1; | 279 | ack = 1; |
280 | i2c_delay(CLOCK_HIGH_TIME/2); | 280 | i2c_delay(CLOCK_HIGH_TIME/2); |
281 | } | 281 | } |
diff --git a/arch/cris/arch-v32/drivers/nandflash.c b/arch/cris/arch-v32/drivers/nandflash.c index 93ddea4d9564..5ce015c6bb0d 100644 --- a/arch/cris/arch-v32/drivers/nandflash.c +++ b/arch/cris/arch-v32/drivers/nandflash.c | |||
@@ -138,7 +138,7 @@ struct mtd_info* __init crisv32_nand_flash_probe (void) | |||
138 | /* Enable the following for a flash based bad block table */ | 138 | /* Enable the following for a flash based bad block table */ |
139 | this->options = NAND_USE_FLASH_BBT; | 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 | if (nand_scan (crisv32_mtd, 1)) { | 142 | if (nand_scan (crisv32_mtd, 1)) { |
143 | err = -ENXIO; | 143 | err = -ENXIO; |
144 | goto out_ior; | 144 | goto out_ior; |
diff --git a/arch/cris/arch-v32/drivers/pcf8563.c b/arch/cris/arch-v32/drivers/pcf8563.c index da479a14f836..6dbd700d3d66 100644 --- a/arch/cris/arch-v32/drivers/pcf8563.c +++ b/arch/cris/arch-v32/drivers/pcf8563.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * From Phillips' datasheet: | 4 | * From Phillips' datasheet: |
5 | * | 5 | * |
6 | * The PCF8563 is a CMOS real-time clock/calendar optimized for low power | 6 | * The PCF8563 is a CMOS real-time clock/calendar optimized for low power |
7 | * consumption. A programmable clock output, interupt output and voltage | 7 | * consumption. A programmable clock output, interrupt output and voltage |
8 | * low detector are also provided. All address and data are transferred | 8 | * low detector are also provided. All address and data are transferred |
9 | * serially via two-line bidirectional I2C-bus. Maximum bus speed is | 9 | * serially via two-line bidirectional I2C-bus. Maximum bus speed is |
10 | * 400 kbits/s. The built-in word address register is incremented | 10 | * 400 kbits/s. The built-in word address register is incremented |
diff --git a/arch/cris/arch-v32/kernel/fasttimer.c b/arch/cris/arch-v32/kernel/fasttimer.c index 79e1e4c2ca1d..b40551f9f40d 100644 --- a/arch/cris/arch-v32/kernel/fasttimer.c +++ b/arch/cris/arch-v32/kernel/fasttimer.c | |||
@@ -97,7 +97,7 @@ | |||
97 | * with time based on jiffies and *R_TIMER0_DATA, uses a table | 97 | * with time based on jiffies and *R_TIMER0_DATA, uses a table |
98 | * for fast conversion of timer value to microseconds. | 98 | * for fast conversion of timer value to microseconds. |
99 | * (Much faster the standard do_gettimeofday() and we don't really | 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 | * when we change the time. | 101 | * when we change the time. |
102 | * TODO: Add efficient support for continuous timers as well. | 102 | * TODO: Add efficient support for continuous timers as well. |
103 | * | 103 | * |
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c index cc361bf578ae..a9acaa270243 100644 --- a/arch/cris/arch-v32/kernel/irq.c +++ b/arch/cris/arch-v32/kernel/irq.c | |||
@@ -140,7 +140,7 @@ block_irq(int irq, int cpu) | |||
140 | spin_lock_irqsave(&irq_lock, flags); | 140 | spin_lock_irqsave(&irq_lock, flags); |
141 | intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask); | 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 | intr_mask &= ~(1 << (irq - FIRST_IRQ)); | 144 | intr_mask &= ~(1 << (irq - FIRST_IRQ)); |
145 | 145 | ||
146 | REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); | 146 | REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); |
@@ -156,7 +156,7 @@ unblock_irq(int irq, int cpu) | |||
156 | spin_lock_irqsave(&irq_lock, flags); | 156 | spin_lock_irqsave(&irq_lock, flags); |
157 | intr_mask = REG_RD_INT(intr_vect, irq_regs[cpu], rw_mask); | 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 | intr_mask |= (1 << (irq - FIRST_IRQ)); | 160 | intr_mask |= (1 << (irq - FIRST_IRQ)); |
161 | 161 | ||
162 | REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); | 162 | REG_WR_INT(intr_vect, irq_regs[cpu], rw_mask, intr_mask); |
@@ -308,7 +308,7 @@ crisv32_do_multiple(struct pt_regs* regs) | |||
308 | */ | 308 | */ |
309 | irq_enter(); | 309 | irq_enter(); |
310 | 310 | ||
311 | /* Get which IRQs that happend. */ | 311 | /* Get which IRQs that happened. */ |
312 | masked = REG_RD_INT(intr_vect, irq_regs[cpu], r_masked_vect); | 312 | masked = REG_RD_INT(intr_vect, irq_regs[cpu], r_masked_vect); |
313 | 313 | ||
314 | /* Calculate new IRQ mask with these IRQs disabled. */ | 314 | /* Calculate new IRQ mask with these IRQs disabled. */ |
@@ -366,7 +366,7 @@ init_IRQ(void) | |||
366 | for (i = 0; i < 256; i++) | 366 | for (i = 0; i < 256; i++) |
367 | etrax_irv->v[i] = weird_irq; | 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 | for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) { | 370 | for (i = FIRST_IRQ, j = 0; j < NR_IRQS; i++, j++) { |
371 | irq_desc[j].chip = &crisv32_irq_type; | 371 | irq_desc[j].chip = &crisv32_irq_type; |
372 | set_exception_vector(i, interrupt[j]); | 372 | set_exception_vector(i, interrupt[j]); |
diff --git a/arch/cris/arch-v32/kernel/process.c b/arch/cris/arch-v32/kernel/process.c index 6326351af252..b72a15580dc7 100644 --- a/arch/cris/arch-v32/kernel/process.c +++ b/arch/cris/arch-v32/kernel/process.c | |||
@@ -162,7 +162,7 @@ copy_thread(int nr, unsigned long clone_flags, unsigned long usp, | |||
162 | /* Put the switch stack right below the pt_regs. */ | 162 | /* Put the switch stack right below the pt_regs. */ |
163 | swstack = ((struct switch_stack *) childregs) - 1; | 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 | swstack->r9 = 0; | 166 | swstack->r9 = 0; |
167 | 167 | ||
168 | /* | 168 | /* |
diff --git a/arch/cris/arch-v32/kernel/signal.c b/arch/cris/arch-v32/kernel/signal.c index 7cd6ac803409..024cc6901974 100644 --- a/arch/cris/arch-v32/kernel/signal.c +++ b/arch/cris/arch-v32/kernel/signal.c | |||
@@ -347,7 +347,7 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) | |||
347 | /* Grab and setup a signal frame. | 347 | /* Grab and setup a signal frame. |
348 | * | 348 | * |
349 | * Basically a lot of state-info is stacked, and arranged for the | 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 | * which performs the syscall sigreturn(), or a provided user-mode | 351 | * which performs the syscall sigreturn(), or a provided user-mode |
352 | * trampoline. | 352 | * trampoline. |
353 | */ | 353 | */ |
@@ -641,7 +641,7 @@ ugdb_trap_user(struct thread_info *ti, int sig) | |||
641 | user_regs(ti)->spc = 0; | 641 | user_regs(ti)->spc = 0; |
642 | } | 642 | } |
643 | /* FIXME: Filter out false h/w breakpoint hits (i.e. EDA | 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 | what already exists for kernel debugging. */ | 645 | what already exists for kernel debugging. */ |
646 | if (((user_regs(ti)->exs & 0xff00) >> 8) == BREAK_8_INTR_VECT) { | 646 | if (((user_regs(ti)->exs & 0xff00) >> 8) == BREAK_8_INTR_VECT) { |
647 | /* Break 8: subtract 2 from ERP unless in a delay slot. */ | 647 | /* Break 8: subtract 2 from ERP unless in a delay slot. */ |
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index 697494bc2de1..171c96e0a5d3 100644 --- a/arch/cris/arch-v32/kernel/smp.c +++ b/arch/cris/arch-v32/kernel/smp.c | |||
@@ -142,7 +142,7 @@ smp_boot_one_cpu(int cpuid) | |||
142 | return -1; | 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 | * specific stuff such as the local timer and the MMU. */ | 146 | * specific stuff such as the local timer and the MMU. */ |
147 | void __init smp_callin(void) | 147 | void __init smp_callin(void) |
148 | { | 148 | { |
diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel/time.c index be0a01657d4f..2f7e8e200f2c 100644 --- a/arch/cris/arch-v32/kernel/time.c +++ b/arch/cris/arch-v32/kernel/time.c | |||
@@ -99,7 +99,7 @@ unsigned long do_slow_gettimeoffset(void) | |||
99 | /* From timer MDS describing the hardware watchdog: | 99 | /* From timer MDS describing the hardware watchdog: |
100 | * 4.3.1 Watchdog Operation | 100 | * 4.3.1 Watchdog Operation |
101 | * The watchdog timer is an 8-bit timer with a configurable start value. | 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 | * (100/131072 MHz). When the watchdog counts down to 1, it generates an | 103 | * (100/131072 MHz). When the watchdog counts down to 1, it generates an |
104 | * NMI (Non Maskable Interrupt), and when it counts down to 0, it resets the | 104 | * NMI (Non Maskable Interrupt), and when it counts down to 0, it resets the |
105 | * chip. | 105 | * chip. |
diff --git a/arch/cris/arch-v32/kernel/traps.c b/arch/cris/arch-v32/kernel/traps.c index 2462b1ef1fbb..17fd3dbd1c80 100644 --- a/arch/cris/arch-v32/kernel/traps.c +++ b/arch/cris/arch-v32/kernel/traps.c | |||
@@ -105,7 +105,7 @@ bad_value: | |||
105 | 105 | ||
106 | /* | 106 | /* |
107 | * This gets called from entry.S when the watchdog has bitten. Show something | 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 | * halt instead of reboot. | 109 | * halt instead of reboot. |
110 | */ | 110 | */ |
111 | void | 111 | void |
diff --git a/arch/cris/arch-v32/lib/dram_init.S b/arch/cris/arch-v32/lib/dram_init.S index 158b3dbb4d9d..218fbe259ee5 100644 --- a/arch/cris/arch-v32/lib/dram_init.S +++ b/arch/cris/arch-v32/lib/dram_init.S | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* Just to be certain the config file is included, we include it here | 14 | /* Just to be certain the config file is included, we include it here |
15 | * explicitely instead of depending on it being included in the file that | 15 | * explicitly instead of depending on it being included in the file that |
16 | * uses this code. | 16 | * uses this code. |
17 | */ | 17 | */ |
18 | 18 | ||
diff --git a/arch/cris/arch-v32/lib/string.c b/arch/cris/arch-v32/lib/string.c index 98e282ac824a..6740b2cebae5 100644 --- a/arch/cris/arch-v32/lib/string.c +++ b/arch/cris/arch-v32/lib/string.c | |||
@@ -41,7 +41,7 @@ void *memcpy(void *pdst, | |||
41 | Make sure the compiler is able to make something useful of this. | 41 | Make sure the compiler is able to make something useful of this. |
42 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). | 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 | stack space to save stuff on. */ | 45 | stack space to save stuff on. */ |
46 | 46 | ||
47 | register void *return_dst __asm__ ("r10") = pdst; | 47 | register void *return_dst __asm__ ("r10") = pdst; |
diff --git a/arch/cris/arch-v32/lib/usercopy.c b/arch/cris/arch-v32/lib/usercopy.c index f0b08460c1be..04d0cf35a276 100644 --- a/arch/cris/arch-v32/lib/usercopy.c +++ b/arch/cris/arch-v32/lib/usercopy.c | |||
@@ -34,7 +34,7 @@ __copy_user (void __user *pdst, const void *psrc, unsigned long pn) | |||
34 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). | 34 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). |
35 | 35 | ||
36 | FIXME: Comment for old gcc version. Check. | 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 | stack space to save stuff on. */ | 38 | stack space to save stuff on. */ |
39 | 39 | ||
40 | register char *dst __asm__ ("r13") = pdst; | 40 | register char *dst __asm__ ("r13") = pdst; |
@@ -168,7 +168,7 @@ __copy_user_zeroing (void __user *pdst, const void *psrc, unsigned long pn) | |||
168 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). | 168 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). |
169 | 169 | ||
170 | FIXME: Comment for old gcc version. Check. | 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 | stack space to save stuff on. */ | 172 | stack space to save stuff on. */ |
173 | 173 | ||
174 | register char *dst __asm__ ("r13") = pdst; | 174 | register char *dst __asm__ ("r13") = pdst; |
@@ -332,7 +332,7 @@ __do_clear_user (void __user *pto, unsigned long pn) | |||
332 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). | 332 | As it is now: r10 -> r13; r11 -> r11 (nop); r12 -> r12 (nop). |
333 | 333 | ||
334 | FIXME: Comment for old gcc version. Check. | 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 | stack space to save stuff on. */ | 336 | stack space to save stuff on. */ |
337 | 337 | ||
338 | register char *dst __asm__ ("r13") = pto; | 338 | register char *dst __asm__ ("r13") = pto; |
diff --git a/arch/cris/arch-v32/mm/tlb.c b/arch/cris/arch-v32/mm/tlb.c index c2d12e9c40d7..a076ef6e9389 100644 --- a/arch/cris/arch-v32/mm/tlb.c +++ b/arch/cris/arch-v32/mm/tlb.c | |||
@@ -30,8 +30,8 @@ do { \ | |||
30 | * The TLB can host up to 256 different mm contexts at the same time. The running | 30 | * The TLB can host up to 256 different mm contexts at the same time. The running |
31 | * context is found in the PID register. Each TLB entry contains a page_id that | 31 | * context is found in the PID register. Each TLB entry contains a page_id that |
32 | * has to match the PID register to give a hit. page_id_map keeps track of which | 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 | 33 | * mm is assigned to which page_id, making sure it's known when to invalidate TLB |
34 | * invalidate TLB entries. | 34 | * entries. |
35 | * | 35 | * |
36 | * The last page_id is never running, it is used as an invalid page_id so that | 36 | * The last page_id is never running, it is used as an invalid page_id so that |
37 | * it's possible to make TLB entries that will nerver match. | 37 | * it's possible to make TLB entries that will nerver match. |
@@ -188,7 +188,7 @@ switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
188 | spin_unlock(&mmu_context_lock); | 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 | * because current and active_mm might be invalid at points where | 192 | * because current and active_mm might be invalid at points where |
193 | * there's still a need to derefer the pgd. | 193 | * there's still a need to derefer the pgd. |
194 | */ | 194 | */ |