diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/Kconfig | 5 | ||||
-rw-r--r-- | arch/mips/Kconfig.debug | 2 | ||||
-rw-r--r-- | arch/mips/include/asm/mach-ip27/topology.h | 17 | ||||
-rw-r--r-- | arch/mips/include/asm/processor.h | 3 | ||||
-rw-r--r-- | arch/mips/kernel/mips-mt.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/perf_event_mipsxx.c | 2 | ||||
-rw-r--r-- | arch/mips/kernel/ptrace.c | 2 | ||||
-rw-r--r-- | arch/mips/lantiq/xway/gpio.c | 2 | ||||
-rw-r--r-- | arch/mips/lantiq/xway/gpio_ebu.c | 2 | ||||
-rw-r--r-- | arch/mips/lantiq/xway/gpio_stp.c | 2 | ||||
-rw-r--r-- | arch/mips/sni/pcimt.c | 2 |
11 files changed, 11 insertions, 30 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 186fc8cf9ee0..85aad0321397 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -30,6 +30,7 @@ config MIPS | |||
30 | select HAVE_MEMBLOCK_NODE_MAP | 30 | select HAVE_MEMBLOCK_NODE_MAP |
31 | select ARCH_DISCARD_MEMBLOCK | 31 | select ARCH_DISCARD_MEMBLOCK |
32 | select GENERIC_SMP_IDLE_THREAD | 32 | select GENERIC_SMP_IDLE_THREAD |
33 | select BUILDTIME_EXTABLE_SORT | ||
33 | 34 | ||
34 | menu "Machine selection" | 35 | menu "Machine selection" |
35 | 36 | ||
@@ -1002,12 +1003,12 @@ config HOLES_IN_ZONE | |||
1002 | bool | 1003 | bool |
1003 | 1004 | ||
1004 | # | 1005 | # |
1005 | # Endianess selection. Sufficiently obscure so many users don't know what to | 1006 | # Endianness selection. Sufficiently obscure so many users don't know what to |
1006 | # answer,so we try hard to limit the available choices. Also the use of a | 1007 | # answer,so we try hard to limit the available choices. Also the use of a |
1007 | # choice statement should be more obvious to the user. | 1008 | # choice statement should be more obvious to the user. |
1008 | # | 1009 | # |
1009 | choice | 1010 | choice |
1010 | prompt "Endianess selection" | 1011 | prompt "Endianness selection" |
1011 | help | 1012 | help |
1012 | Some MIPS machines can be configured for either little or big endian | 1013 | Some MIPS machines can be configured for either little or big endian |
1013 | byte order. These modes require different kernels and a different | 1014 | byte order. These modes require different kernels and a different |
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug index 83ed00a5644a..5a43aa0798ca 100644 --- a/arch/mips/Kconfig.debug +++ b/arch/mips/Kconfig.debug | |||
@@ -57,7 +57,7 @@ config CMDLINE | |||
57 | options. | 57 | options. |
58 | 58 | ||
59 | config CMDLINE_OVERRIDE | 59 | config CMDLINE_OVERRIDE |
60 | bool "Built-in command line overrides firware arguments" | 60 | bool "Built-in command line overrides firmware arguments" |
61 | default n | 61 | default n |
62 | depends on CMDLINE_BOOL | 62 | depends on CMDLINE_BOOL |
63 | help | 63 | help |
diff --git a/arch/mips/include/asm/mach-ip27/topology.h b/arch/mips/include/asm/mach-ip27/topology.h index 1b1a7d1632b9..b2cf641f206f 100644 --- a/arch/mips/include/asm/mach-ip27/topology.h +++ b/arch/mips/include/asm/mach-ip27/topology.h | |||
@@ -36,23 +36,6 @@ extern unsigned char __node_distances[MAX_COMPACT_NODES][MAX_COMPACT_NODES]; | |||
36 | 36 | ||
37 | #define node_distance(from, to) (__node_distances[(from)][(to)]) | 37 | #define node_distance(from, to) (__node_distances[(from)][(to)]) |
38 | 38 | ||
39 | /* sched_domains SD_NODE_INIT for SGI IP27 machines */ | ||
40 | #define SD_NODE_INIT (struct sched_domain) { \ | ||
41 | .parent = NULL, \ | ||
42 | .child = NULL, \ | ||
43 | .groups = NULL, \ | ||
44 | .min_interval = 8, \ | ||
45 | .max_interval = 32, \ | ||
46 | .busy_factor = 32, \ | ||
47 | .imbalance_pct = 125, \ | ||
48 | .cache_nice_tries = 1, \ | ||
49 | .flags = SD_LOAD_BALANCE | \ | ||
50 | SD_BALANCE_EXEC, \ | ||
51 | .last_balance = jiffies, \ | ||
52 | .balance_interval = 1, \ | ||
53 | .nr_balance_failed = 0, \ | ||
54 | } | ||
55 | |||
56 | #include <asm-generic/topology.h> | 39 | #include <asm-generic/topology.h> |
57 | 40 | ||
58 | #endif /* _ASM_MACH_TOPOLOGY_H */ | 41 | #endif /* _ASM_MACH_TOPOLOGY_H */ |
diff --git a/arch/mips/include/asm/processor.h b/arch/mips/include/asm/processor.h index 20e9dcf42b27..5e33fabe354d 100644 --- a/arch/mips/include/asm/processor.h +++ b/arch/mips/include/asm/processor.h | |||
@@ -310,9 +310,6 @@ struct task_struct; | |||
310 | /* Free all resources held by a thread. */ | 310 | /* Free all resources held by a thread. */ |
311 | #define release_thread(thread) do { } while(0) | 311 | #define release_thread(thread) do { } while(0) |
312 | 312 | ||
313 | /* Prepare to copy thread state - unlazy all lazy status */ | ||
314 | #define prepare_to_copy(tsk) do { } while (0) | ||
315 | |||
316 | extern long kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | 313 | extern long kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); |
317 | 314 | ||
318 | extern unsigned long thread_saved_pc(struct task_struct *tsk); | 315 | extern unsigned long thread_saved_pc(struct task_struct *tsk); |
diff --git a/arch/mips/kernel/mips-mt.c b/arch/mips/kernel/mips-mt.c index 7f3376b1c219..6ded9bd1489c 100644 --- a/arch/mips/kernel/mips-mt.c +++ b/arch/mips/kernel/mips-mt.c | |||
@@ -209,7 +209,7 @@ void mips_mt_set_cpuoptions(void) | |||
209 | unsigned int nconfig7 = oconfig7; | 209 | unsigned int nconfig7 = oconfig7; |
210 | 210 | ||
211 | if (mt_opt_norps) { | 211 | if (mt_opt_norps) { |
212 | printk("\"norps\" option deprectated: use \"rpsctl=\"\n"); | 212 | printk("\"norps\" option deprecated: use \"rpsctl=\"\n"); |
213 | } | 213 | } |
214 | if (mt_opt_rpsctl >= 0) { | 214 | if (mt_opt_rpsctl >= 0) { |
215 | printk("34K return prediction stack override set to %d.\n", | 215 | printk("34K return prediction stack override set to %d.\n", |
diff --git a/arch/mips/kernel/perf_event_mipsxx.c b/arch/mips/kernel/perf_event_mipsxx.c index 811084f4e422..ab73fa2fb9b5 100644 --- a/arch/mips/kernel/perf_event_mipsxx.c +++ b/arch/mips/kernel/perf_event_mipsxx.c | |||
@@ -1325,7 +1325,7 @@ static int mipsxx_pmu_handle_shared_irq(void) | |||
1325 | 1325 | ||
1326 | regs = get_irq_regs(); | 1326 | regs = get_irq_regs(); |
1327 | 1327 | ||
1328 | perf_sample_data_init(&data, 0); | 1328 | perf_sample_data_init(&data, 0, 0); |
1329 | 1329 | ||
1330 | switch (counters) { | 1330 | switch (counters) { |
1331 | #define HANDLE_COUNTER(n) \ | 1331 | #define HANDLE_COUNTER(n) \ |
diff --git a/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c index 7c24c2973c6d..4812c6d916e4 100644 --- a/arch/mips/kernel/ptrace.c +++ b/arch/mips/kernel/ptrace.c | |||
@@ -535,7 +535,7 @@ static inline int audit_arch(void) | |||
535 | asmlinkage void syscall_trace_enter(struct pt_regs *regs) | 535 | asmlinkage void syscall_trace_enter(struct pt_regs *regs) |
536 | { | 536 | { |
537 | /* do the secure computing check first */ | 537 | /* do the secure computing check first */ |
538 | secure_computing(regs->regs[2]); | 538 | secure_computing_strict(regs->regs[2]); |
539 | 539 | ||
540 | if (!(current->ptrace & PT_PTRACED)) | 540 | if (!(current->ptrace & PT_PTRACED)) |
541 | goto out; | 541 | goto out; |
diff --git a/arch/mips/lantiq/xway/gpio.c b/arch/mips/lantiq/xway/gpio.c index d2fa98f3c78d..c429a5bc080f 100644 --- a/arch/mips/lantiq/xway/gpio.c +++ b/arch/mips/lantiq/xway/gpio.c | |||
@@ -188,7 +188,7 @@ int __init ltq_gpio_init(void) | |||
188 | int ret = platform_driver_register(<q_gpio_driver); | 188 | int ret = platform_driver_register(<q_gpio_driver); |
189 | 189 | ||
190 | if (ret) | 190 | if (ret) |
191 | pr_info("ltq_gpio : Error registering platfom driver!"); | 191 | pr_info("ltq_gpio : Error registering platform driver!"); |
192 | return ret; | 192 | return ret; |
193 | } | 193 | } |
194 | 194 | ||
diff --git a/arch/mips/lantiq/xway/gpio_ebu.c b/arch/mips/lantiq/xway/gpio_ebu.c index b91c7f17f10f..aae17170472f 100644 --- a/arch/mips/lantiq/xway/gpio_ebu.c +++ b/arch/mips/lantiq/xway/gpio_ebu.c | |||
@@ -119,7 +119,7 @@ static int __init ltq_ebu_init(void) | |||
119 | int ret = platform_driver_register(<q_ebu_driver); | 119 | int ret = platform_driver_register(<q_ebu_driver); |
120 | 120 | ||
121 | if (ret) | 121 | if (ret) |
122 | pr_info("ltq_ebu : Error registering platfom driver!"); | 122 | pr_info("ltq_ebu : Error registering platform driver!"); |
123 | return ret; | 123 | return ret; |
124 | } | 124 | } |
125 | 125 | ||
diff --git a/arch/mips/lantiq/xway/gpio_stp.c b/arch/mips/lantiq/xway/gpio_stp.c index ff9991cddeaa..fd07d87adaa9 100644 --- a/arch/mips/lantiq/xway/gpio_stp.c +++ b/arch/mips/lantiq/xway/gpio_stp.c | |||
@@ -150,7 +150,7 @@ int __init ltq_stp_init(void) | |||
150 | int ret = platform_driver_register(<q_stp_driver); | 150 | int ret = platform_driver_register(<q_stp_driver); |
151 | 151 | ||
152 | if (ret) | 152 | if (ret) |
153 | pr_info("ltq_stp: error registering platfom driver"); | 153 | pr_info("ltq_stp: error registering platform driver"); |
154 | return ret; | 154 | return ret; |
155 | } | 155 | } |
156 | 156 | ||
diff --git a/arch/mips/sni/pcimt.c b/arch/mips/sni/pcimt.c index ed3b3d317358..cdb1417fba59 100644 --- a/arch/mips/sni/pcimt.c +++ b/arch/mips/sni/pcimt.c | |||
@@ -29,7 +29,7 @@ static void __init sni_pcimt_sc_init(void) | |||
29 | 29 | ||
30 | scsiz = cacheconf & 7; | 30 | scsiz = cacheconf & 7; |
31 | if (scsiz == 0) { | 31 | if (scsiz == 0) { |
32 | printk("Second level cache is deactived.\n"); | 32 | printk("Second level cache is deactivated.\n"); |
33 | return; | 33 | return; |
34 | } | 34 | } |
35 | if (scsiz >= 6) { | 35 | if (scsiz >= 6) { |