diff options
Diffstat (limited to 'arch/sparc/kernel')
| -rw-r--r-- | arch/sparc/kernel/audit.c | 12 | ||||
| -rw-r--r-- | arch/sparc/kernel/compat_audit.c | 12 | ||||
| -rw-r--r-- | arch/sparc/kernel/entry.S | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/ioport.c | 6 | ||||
| -rw-r--r-- | arch/sparc/kernel/kernel.h | 12 | ||||
| -rw-r--r-- | arch/sparc/kernel/leon_kernel.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/process_64.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/setup_32.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/setup_64.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/signal32.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/sys_sparc_64.c | 4 | ||||
| -rw-r--r-- | arch/sparc/kernel/sysfs.c | 2 | ||||
| -rw-r--r-- | arch/sparc/kernel/unaligned_64.c | 4 |
13 files changed, 32 insertions, 32 deletions
diff --git a/arch/sparc/kernel/audit.c b/arch/sparc/kernel/audit.c index 24361b494a93..2585c1e14bcc 100644 --- a/arch/sparc/kernel/audit.c +++ b/arch/sparc/kernel/audit.c | |||
| @@ -5,27 +5,27 @@ | |||
| 5 | 5 | ||
| 6 | #include "kernel.h" | 6 | #include "kernel.h" |
| 7 | 7 | ||
| 8 | static unsigned dir_class[] = { | 8 | static unsigned int dir_class[] = { |
| 9 | #include <asm-generic/audit_dir_write.h> | 9 | #include <asm-generic/audit_dir_write.h> |
| 10 | ~0U | 10 | ~0U |
| 11 | }; | 11 | }; |
| 12 | 12 | ||
| 13 | static unsigned read_class[] = { | 13 | static unsigned int read_class[] = { |
| 14 | #include <asm-generic/audit_read.h> | 14 | #include <asm-generic/audit_read.h> |
| 15 | ~0U | 15 | ~0U |
| 16 | }; | 16 | }; |
| 17 | 17 | ||
| 18 | static unsigned write_class[] = { | 18 | static unsigned int write_class[] = { |
| 19 | #include <asm-generic/audit_write.h> | 19 | #include <asm-generic/audit_write.h> |
| 20 | ~0U | 20 | ~0U |
| 21 | }; | 21 | }; |
| 22 | 22 | ||
| 23 | static unsigned chattr_class[] = { | 23 | static unsigned int chattr_class[] = { |
| 24 | #include <asm-generic/audit_change_attr.h> | 24 | #include <asm-generic/audit_change_attr.h> |
| 25 | ~0U | 25 | ~0U |
| 26 | }; | 26 | }; |
| 27 | 27 | ||
| 28 | static unsigned signal_class[] = { | 28 | static unsigned int signal_class[] = { |
| 29 | #include <asm-generic/audit_signal.h> | 29 | #include <asm-generic/audit_signal.h> |
| 30 | ~0U | 30 | ~0U |
| 31 | }; | 31 | }; |
| @@ -39,7 +39,7 @@ int audit_classify_arch(int arch) | |||
| 39 | return 0; | 39 | return 0; |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | int audit_classify_syscall(int abi, unsigned syscall) | 42 | int audit_classify_syscall(int abi, unsigned int syscall) |
| 43 | { | 43 | { |
| 44 | #ifdef CONFIG_COMPAT | 44 | #ifdef CONFIG_COMPAT |
| 45 | if (abi == AUDIT_ARCH_SPARC) | 45 | if (abi == AUDIT_ARCH_SPARC) |
diff --git a/arch/sparc/kernel/compat_audit.c b/arch/sparc/kernel/compat_audit.c index 7062263d09c1..e5611cd428f1 100644 --- a/arch/sparc/kernel/compat_audit.c +++ b/arch/sparc/kernel/compat_audit.c | |||
| @@ -2,32 +2,32 @@ | |||
| 2 | #include <asm/unistd.h> | 2 | #include <asm/unistd.h> |
| 3 | #include "kernel.h" | 3 | #include "kernel.h" |
| 4 | 4 | ||
| 5 | unsigned sparc32_dir_class[] = { | 5 | unsigned int sparc32_dir_class[] = { |
| 6 | #include <asm-generic/audit_dir_write.h> | 6 | #include <asm-generic/audit_dir_write.h> |
| 7 | ~0U | 7 | ~0U |
| 8 | }; | 8 | }; |
| 9 | 9 | ||
| 10 | unsigned sparc32_chattr_class[] = { | 10 | unsigned int sparc32_chattr_class[] = { |
| 11 | #include <asm-generic/audit_change_attr.h> | 11 | #include <asm-generic/audit_change_attr.h> |
| 12 | ~0U | 12 | ~0U |
| 13 | }; | 13 | }; |
| 14 | 14 | ||
| 15 | unsigned sparc32_write_class[] = { | 15 | unsigned int sparc32_write_class[] = { |
| 16 | #include <asm-generic/audit_write.h> | 16 | #include <asm-generic/audit_write.h> |
| 17 | ~0U | 17 | ~0U |
| 18 | }; | 18 | }; |
| 19 | 19 | ||
| 20 | unsigned sparc32_read_class[] = { | 20 | unsigned int sparc32_read_class[] = { |
| 21 | #include <asm-generic/audit_read.h> | 21 | #include <asm-generic/audit_read.h> |
| 22 | ~0U | 22 | ~0U |
| 23 | }; | 23 | }; |
| 24 | 24 | ||
| 25 | unsigned sparc32_signal_class[] = { | 25 | unsigned int sparc32_signal_class[] = { |
| 26 | #include <asm-generic/audit_signal.h> | 26 | #include <asm-generic/audit_signal.h> |
| 27 | ~0U | 27 | ~0U |
| 28 | }; | 28 | }; |
| 29 | 29 | ||
| 30 | int sparc32_classify_syscall(unsigned syscall) | 30 | int sparc32_classify_syscall(unsigned int syscall) |
| 31 | { | 31 | { |
| 32 | switch(syscall) { | 32 | switch(syscall) { |
| 33 | case __NR_open: | 33 | case __NR_open: |
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index a83707c83be8..51aa6e86a5f8 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S | |||
| @@ -1255,7 +1255,7 @@ flush_patch_exception: | |||
| 1255 | kuw_patch1_7win: sll %o3, 6, %o3 | 1255 | kuw_patch1_7win: sll %o3, 6, %o3 |
| 1256 | 1256 | ||
| 1257 | /* No matter how much overhead this routine has in the worst | 1257 | /* No matter how much overhead this routine has in the worst |
| 1258 | * case scenerio, it is several times better than taking the | 1258 | * case scenario, it is several times better than taking the |
| 1259 | * traps with the old method of just doing flush_user_windows(). | 1259 | * traps with the old method of just doing flush_user_windows(). |
| 1260 | */ | 1260 | */ |
| 1261 | kill_user_windows: | 1261 | kill_user_windows: |
diff --git a/arch/sparc/kernel/ioport.c b/arch/sparc/kernel/ioport.c index 28fed53b13a0..ffd5ff4678cf 100644 --- a/arch/sparc/kernel/ioport.c +++ b/arch/sparc/kernel/ioport.c | |||
| @@ -131,7 +131,7 @@ void __iomem *ioremap(unsigned long offset, unsigned long size) | |||
| 131 | EXPORT_SYMBOL(ioremap); | 131 | EXPORT_SYMBOL(ioremap); |
| 132 | 132 | ||
| 133 | /* | 133 | /* |
| 134 | * Comlimentary to ioremap(). | 134 | * Complementary to ioremap(). |
| 135 | */ | 135 | */ |
| 136 | void iounmap(volatile void __iomem *virtual) | 136 | void iounmap(volatile void __iomem *virtual) |
| 137 | { | 137 | { |
| @@ -233,7 +233,7 @@ _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz) | |||
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | /* | 235 | /* |
| 236 | * Comlimentary to _sparc_ioremap(). | 236 | * Complementary to _sparc_ioremap(). |
| 237 | */ | 237 | */ |
| 238 | static void _sparc_free_io(struct resource *res) | 238 | static void _sparc_free_io(struct resource *res) |
| 239 | { | 239 | { |
| @@ -532,7 +532,7 @@ static void pci32_unmap_page(struct device *dev, dma_addr_t ba, size_t size, | |||
| 532 | } | 532 | } |
| 533 | 533 | ||
| 534 | /* Map a set of buffers described by scatterlist in streaming | 534 | /* Map a set of buffers described by scatterlist in streaming |
| 535 | * mode for DMA. This is the scather-gather version of the | 535 | * mode for DMA. This is the scatter-gather version of the |
| 536 | * above pci_map_single interface. Here the scatter gather list | 536 | * above pci_map_single interface. Here the scatter gather list |
| 537 | * elements are each tagged with the appropriate dma address | 537 | * elements are each tagged with the appropriate dma address |
| 538 | * and length. They are obtained via sg_dma_{address,length}(SG). | 538 | * and length. They are obtained via sg_dma_{address,length}(SG). |
diff --git a/arch/sparc/kernel/kernel.h b/arch/sparc/kernel/kernel.h index e7f652be9e61..5057ec2e4af6 100644 --- a/arch/sparc/kernel/kernel.h +++ b/arch/sparc/kernel/kernel.h | |||
| @@ -54,12 +54,12 @@ void do_signal32(struct pt_regs * regs); | |||
| 54 | asmlinkage int do_sys32_sigstack(u32 u_ssptr, u32 u_ossptr, unsigned long sp); | 54 | asmlinkage int do_sys32_sigstack(u32 u_ssptr, u32 u_ossptr, unsigned long sp); |
| 55 | 55 | ||
| 56 | /* compat_audit.c */ | 56 | /* compat_audit.c */ |
| 57 | extern unsigned sparc32_dir_class[]; | 57 | extern unsigned int sparc32_dir_class[]; |
| 58 | extern unsigned sparc32_chattr_class[]; | 58 | extern unsigned int sparc32_chattr_class[]; |
| 59 | extern unsigned sparc32_write_class[]; | 59 | extern unsigned int sparc32_write_class[]; |
| 60 | extern unsigned sparc32_read_class[]; | 60 | extern unsigned int sparc32_read_class[]; |
| 61 | extern unsigned sparc32_signal_class[]; | 61 | extern unsigned int sparc32_signal_class[]; |
| 62 | int sparc32_classify_syscall(unsigned syscall); | 62 | int sparc32_classify_syscall(unsigned int syscall); |
| 63 | #endif | 63 | #endif |
| 64 | 64 | ||
| 65 | #ifdef CONFIG_SPARC32 | 65 | #ifdef CONFIG_SPARC32 |
diff --git a/arch/sparc/kernel/leon_kernel.c b/arch/sparc/kernel/leon_kernel.c index 42efcf85f721..33cd171d933e 100644 --- a/arch/sparc/kernel/leon_kernel.c +++ b/arch/sparc/kernel/leon_kernel.c | |||
| @@ -203,7 +203,7 @@ static struct irq_chip leon_irq = { | |||
| 203 | 203 | ||
| 204 | /* | 204 | /* |
| 205 | * Build a LEON IRQ for the edge triggered LEON IRQ controller: | 205 | * Build a LEON IRQ for the edge triggered LEON IRQ controller: |
| 206 | * Edge (normal) IRQ - handle_simple_irq, ack=DONT-CARE, never ack | 206 | * Edge (normal) IRQ - handle_simple_irq, ack=DON'T-CARE, never ack |
| 207 | * Level IRQ (PCI|Level-GPIO) - handle_fasteoi_irq, ack=1, ack after ISR | 207 | * Level IRQ (PCI|Level-GPIO) - handle_fasteoi_irq, ack=1, ack after ISR |
| 208 | * Per-CPU Edge - handle_percpu_irq, ack=0 | 208 | * Per-CPU Edge - handle_percpu_irq, ack=0 |
| 209 | */ | 209 | */ |
diff --git a/arch/sparc/kernel/process_64.c b/arch/sparc/kernel/process_64.c index 46a59643bb1c..c16ef1af1843 100644 --- a/arch/sparc/kernel/process_64.c +++ b/arch/sparc/kernel/process_64.c | |||
| @@ -103,7 +103,7 @@ static void show_regwindow32(struct pt_regs *regs) | |||
| 103 | mm_segment_t old_fs; | 103 | mm_segment_t old_fs; |
| 104 | 104 | ||
| 105 | __asm__ __volatile__ ("flushw"); | 105 | __asm__ __volatile__ ("flushw"); |
| 106 | |||
