Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205390
b: refs/heads/master
c: 2508ce1
h: refs/heads/master
v: v3
  • Loading branch information
Don Zickus authored and Frederic Weisbecker committed May 12, 2010
1 parent 8a0de77 commit ecb0870
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 306 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 332fbdbca3f7716c5620970755ae054d213bcc4e
refs/heads/master: 2508ce1845a3b256798532b2c6b7997c2dc6533b
293 changes: 0 additions & 293 deletions trunk/kernel/softlockup.c

This file was deleted.

22 changes: 10 additions & 12 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ extern int blk_iopoll_enabled;
#endif

/* Constants used for minimum and maximum */
#ifdef CONFIG_DETECT_SOFTLOCKUP
#ifdef CONFIG_LOCKUP_DETECTOR
static int sixty = 60;
static int neg_one = -1;
#endif
Expand Down Expand Up @@ -703,6 +703,15 @@ static struct ctl_table kern_table[] = {
.extra1 = &neg_one,
.extra2 = &sixty,
},
{
.procname = "softlockup_panic",
.data = &softlockup_panic,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.extra1 = &zero,
.extra2 = &one,
},
#endif
#if defined(CONFIG_X86_LOCAL_APIC) && defined(CONFIG_X86) && !defined(CONFIG_LOCKUP_DETECTOR)
{
Expand Down Expand Up @@ -807,17 +816,6 @@ static struct ctl_table kern_table[] = {
.proc_handler = proc_dointvec,
},
#endif
#ifdef CONFIG_DETECT_SOFTLOCKUP
{
.procname = "softlockup_panic",
.data = &softlockup_panic,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = proc_dointvec_minmax,
.extra1 = &zero,
.extra2 = &one,
},
#endif
#ifdef CONFIG_DETECT_HUNG_TASK
{
.procname = "hung_task_panic",
Expand Down

0 comments on commit ecb0870

Please sign in to comment.