diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-06 13:17:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-06 13:17:26 -0500 |
commit | 28d9bfc37c861aa9c8386dff1ac7e9a10e5c5162 (patch) | |
tree | 85bcc2db18ff20e380a40aba375e70d14c2671b4 /kernel/sysctl.c | |
parent | f3b0cfa9b017a9d4686c9b14b908a1685f97a077 (diff) | |
parent | 4b95f135f606c87e4056b6d7fd3c5781c818858b (diff) |
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (146 commits)
tools, perf: Documentation for the power events API
perf: Add calls to suspend trace point
perf script: Make some lists static
perf script: Use the default lost event handler
perf session: Warn about errors when processing pipe events too
perf tools: Fix perf_event.h header usage
perf test: Clarify some error reports in the open syscall test
x86, NMI: Add touch_nmi_watchdog to io_check_error delay
x86: Avoid calling arch_trigger_all_cpu_backtrace() at the same time
x86: Only call smp_processor_id in non-preempt cases
perf timechart: Adjust perf timechart to the new power events
perf: Clean up power events by introducing new, more generic ones
perf: Do not export power_frequency, but power_start event
perf test: Add test for counting open syscalls
perf evsel: Auto allocate resources needed for some methods
perf evsel: Use {cpu,thread}_map to shorten list of parameters
perf tools: Refactor all_tids to hold nr and the map
perf tools: Refactor cpumap to hold nr and the map
perf evsel: Introduce per cpu and per thread open helpers
perf evsel: Steal the counter reading routines from stat
...
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 5abfa1518554..46404414d8a7 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -745,21 +745,21 @@ static struct ctl_table kern_table[] = { | |||
745 | .extra1 = &zero, | 745 | .extra1 = &zero, |
746 | .extra2 = &one, | 746 | .extra2 = &one, |
747 | }, | 747 | }, |
748 | #endif | ||
749 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) && !defined(CONFIG_LOCKUP_DETECTOR) | ||
750 | { | 748 | { |
751 | .procname = "unknown_nmi_panic", | 749 | .procname = "nmi_watchdog", |
752 | .data = &unknown_nmi_panic, | 750 | .data = &watchdog_enabled, |
753 | .maxlen = sizeof (int), | 751 | .maxlen = sizeof (int), |
754 | .mode = 0644, | 752 | .mode = 0644, |
755 | .proc_handler = proc_dointvec, | 753 | .proc_handler = proc_dowatchdog_enabled, |
756 | }, | 754 | }, |
755 | #endif | ||
756 | #if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) | ||
757 | { | 757 | { |
758 | .procname = "nmi_watchdog", | 758 | .procname = "unknown_nmi_panic", |
759 | .data = &nmi_watchdog_enabled, | 759 | .data = &unknown_nmi_panic, |
760 | .maxlen = sizeof (int), | 760 | .maxlen = sizeof (int), |
761 | .mode = 0644, | 761 | .mode = 0644, |
762 | .proc_handler = proc_nmi_enabled, | 762 | .proc_handler = proc_dointvec, |
763 | }, | 763 | }, |
764 | #endif | 764 | #endif |
765 | #if defined(CONFIG_X86) | 765 | #if defined(CONFIG_X86) |