aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSimon Arlott <simon@fire.lp0.eu>2007-05-13 19:25:48 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-05-13 19:25:48 -0400
commit0a354775af0d3e84158ff87115bdb022b2a517ee (patch)
treef2b8635f54072076b369a597ca4c04938a234322 /arch
parent47e77eeecf0b7892bba8a697c228ab846fea7a0f (diff)
spelling fixes: arch/sh64/
Spelling fixes in arch/sh64/. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh64/kernel/pci_sh5.h2
-rw-r--r--arch/sh64/kernel/process.c2
-rw-r--r--arch/sh64/kernel/time.c2
-rw-r--r--arch/sh64/mach-cayman/setup.c2
-rw-r--r--arch/sh64/mm/fault.c2
-rw-r--r--arch/sh64/mm/tlbmiss.c4
6 files changed, 7 insertions, 7 deletions
diff --git a/arch/sh64/kernel/pci_sh5.h b/arch/sh64/kernel/pci_sh5.h
index 8f21f5d2aa3e..c71159dd04b9 100644
--- a/arch/sh64/kernel/pci_sh5.h
+++ b/arch/sh64/kernel/pci_sh5.h
@@ -4,7 +4,7 @@
4 * May be copied or modified under the terms of the GNU General Public 4 * May be copied or modified under the terms of the GNU General Public
5 * License. See linux/COPYING for more information. 5 * License. See linux/COPYING for more information.
6 * 6 *
7 * Defintions for the SH5 PCI hardware. 7 * Definitions for the SH5 PCI hardware.
8 */ 8 */
9 9
10/* Product ID */ 10/* Product ID */
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index 525d0ec19b78..1b89c9dfb93d 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -387,7 +387,7 @@ ATTRIB_NORET void kernel_thread_helper(void *arg, int (*fn)(void *))
387 * NOTE! Only a kernel-only process(ie the swapper or direct descendants 387 * NOTE! Only a kernel-only process(ie the swapper or direct descendants
388 * who haven't done an "execve()") should use this: it will work within 388 * who haven't done an "execve()") should use this: it will work within
389 * a system call from a "real" process, but the process memory space will 389 * a system call from a "real" process, but the process memory space will
390 * not be free'd until both the parent and the child have exited. 390 * not be freed until both the parent and the child have exited.
391 */ 391 */
392int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) 392int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
393{ 393{
diff --git a/arch/sh64/kernel/time.c b/arch/sh64/kernel/time.c
index 390b40de7cef..bad0f05d1ab1 100644
--- a/arch/sh64/kernel/time.c
+++ b/arch/sh64/kernel/time.c
@@ -123,7 +123,7 @@ static unsigned long long usecs_per_jiffy = 1000000/HZ; /* Approximation */
123static unsigned long long scaled_recip_ctc_ticks_per_jiffy; 123static unsigned long long scaled_recip_ctc_ticks_per_jiffy;
124 124
125/* Estimate number of microseconds that have elapsed since the last timer tick, 125/* Estimate number of microseconds that have elapsed since the last timer tick,
126 by scaling the delta that has occured in the CTC register. 126 by scaling the delta that has occurred in the CTC register.
127 127
128 WARNING WARNING WARNING : This algorithm relies on the CTC decrementing at 128 WARNING WARNING WARNING : This algorithm relies on the CTC decrementing at
129 the CPU clock rate. If the CPU sleeps, the CTC stops counting. Bear this 129 the CPU clock rate. If the CPU sleeps, the CTC stops counting. Bear this
diff --git a/arch/sh64/mach-cayman/setup.c b/arch/sh64/mach-cayman/setup.c
index 3ed87cd059d0..c3611cc2735f 100644
--- a/arch/sh64/mach-cayman/setup.c
+++ b/arch/sh64/mach-cayman/setup.c
@@ -213,7 +213,7 @@ static int __init smsc_superio_setup(void)
213 SMSC_SUPERIO_WRITE_INDEXED(0x00, 0xc7); /* GP47 = nIOWOP */ 213 SMSC_SUPERIO_WRITE_INDEXED(0x00, 0xc7); /* GP47 = nIOWOP */
214#endif 214#endif
215 215
216 /* Exit the configuraton state */ 216 /* Exit the configuration state */
217 outb(SMSC_EXIT_CONFIG_KEY, SMSC_CONFIG_PORT_ADDR); 217 outb(SMSC_EXIT_CONFIG_KEY, SMSC_CONFIG_PORT_ADDR);
218 218
219 return 0; 219 return 0;
diff --git a/arch/sh64/mm/fault.c b/arch/sh64/mm/fault.c
index 4dd8ee8f01ce..3cd93ba5d826 100644
--- a/arch/sh64/mm/fault.c
+++ b/arch/sh64/mm/fault.c
@@ -135,7 +135,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long writeaccess,
135 /* SIM 135 /* SIM
136 * Note this is now called with interrupts still disabled 136 * Note this is now called with interrupts still disabled
137 * This is to cope with being called for a missing IO port 137 * This is to cope with being called for a missing IO port
138 * address with interupts disabled. This should be fixed as 138 * address with interrupts disabled. This should be fixed as
139 * soon as we have a better 'fast path' miss handler. 139 * soon as we have a better 'fast path' miss handler.
140 * 140 *
141 * Plus take care how you try and debug this stuff. 141 * Plus take care how you try and debug this stuff.
diff --git a/arch/sh64/mm/tlbmiss.c b/arch/sh64/mm/tlbmiss.c
index d4c5334186d0..b767d6cff72f 100644
--- a/arch/sh64/mm/tlbmiss.c
+++ b/arch/sh64/mm/tlbmiss.c
@@ -14,7 +14,7 @@
14 * IMPORTANT NOTES : 14 * IMPORTANT NOTES :
15 * The do_fast_page_fault function is called from a context in entry.S where very few registers 15 * The do_fast_page_fault function is called from a context in entry.S where very few registers
16 * have been saved. In particular, the code in this file must be compiled not to use ANY 16 * have been saved. In particular, the code in this file must be compiled not to use ANY
17 * caller-save regiseters that are not part of the restricted save set. Also, it means that 17 * caller-save registers that are not part of the restricted save set. Also, it means that
18 * code in this file must not make calls to functions elsewhere in the kernel, or else the 18 * code in this file must not make calls to functions elsewhere in the kernel, or else the
19 * excepting context will see corruption in its caller-save registers. Plus, the entry.S save 19 * excepting context will see corruption in its caller-save registers. Plus, the entry.S save
20 * area is non-reentrant, so this code has to run with SR.BL==1, i.e. no interrupts taken inside 20 * area is non-reentrant, so this code has to run with SR.BL==1, i.e. no interrupts taken inside
@@ -249,7 +249,7 @@ asmlinkage int do_fast_page_fault(unsigned long long ssr_md, unsigned long long
249 /* SIM 249 /* SIM
250 * Note this is now called with interrupts still disabled 250 * Note this is now called with interrupts still disabled
251 * This is to cope with being called for a missing IO port 251 * This is to cope with being called for a missing IO port
252 * address with interupts disabled. This should be fixed as 252 * address with interrupts disabled. This should be fixed as
253 * soon as we have a better 'fast path' miss handler. 253 * soon as we have a better 'fast path' miss handler.
254 * 254 *
255 * Plus take care how you try and debug this stuff. 255 * Plus take care how you try and debug this stuff.