diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2008-06-24 16:52:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:51:41 -0400 |
commit | c376d45432d935e6f1e0ff2d6be3734bcd3ba455 (patch) | |
tree | c776405c9734a11e6947b55cd2c44e4d7ec1fcfb /arch/x86/kernel/smpboot.c | |
parent | 2b6addad2d67a2d75ae10a1c8efd18d81d78ff82 (diff) |
x86: nmi_watchdog - use NMI_NONE by default
There is no need to keep NMI_DISABLED definition and use it
for nmi_watchdog by default. Here is the point why:
- IO-APIC and APIC chips are programmed for nmi_watchdog support at very
early stage of kernel booting and not having nmi_watchdog specified as
boot option lead only to nmi_watchdog becomes to NMI_NONE anyway
- enable nmi_watchdog thru /proc/sys/kernel/nmi if it was not specified at
boot is not possible too (even having this sysfs entry)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: macro@linux-mips.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 3b48d1f4c7c3..3b19441d78b8 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -1139,7 +1139,6 @@ static void __init smp_cpu_index_default(void) | |||
1139 | void __init native_smp_prepare_cpus(unsigned int max_cpus) | 1139 | void __init native_smp_prepare_cpus(unsigned int max_cpus) |
1140 | { | 1140 | { |
1141 | preempt_disable(); | 1141 | preempt_disable(); |
1142 | nmi_watchdog_default(); | ||
1143 | smp_cpu_index_default(); | 1142 | smp_cpu_index_default(); |
1144 | current_cpu_data = boot_cpu_data; | 1143 | current_cpu_data = boot_cpu_data; |
1145 | cpu_callin_map = cpumask_of_cpu(0); | 1144 | cpu_callin_map = cpumask_of_cpu(0); |