softlockup: fix softlockup_thresh unaligned access and disable detection at runtime
authorDimitri Sivanich <sivanich@sgi.com>
Mon, 12 May 2008 19:21:14 +0000 (21:21 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 04:35:03 +0000 (06:35 +0200)
commit9383d9679056e6cc4e7ff70f31da945a268238f4
treec6678a8c4e0fed0739e43f24b608d51856af6f1f
parent9c44bc03fff44ff04237a7d92e35304a0e50c331
softlockup: fix softlockup_thresh unaligned access and disable detection at runtime

Fix unaligned access errors when setting softlockup_thresh on
64 bit platforms.

Allow softlockup detection to be disabled by setting
softlockup_thresh <= 0.

Detect that boot time softlockup detection has been disabled
earlier in softlockup_tick.

Signed-off-by: Dimitri Sivanich <sivanich@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/sched.h
kernel/softlockup.c
kernel/sysctl.c