From: Eric W. Biederman Date: Sun, 30 Oct 2005 22:59:40 +0000 (-0800) Subject: [PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64 X-Git-Tag: v2.6.15-rc1~59^2~15^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b70081f7cb094513d5189e82d3478b50777a28;p=pandora-kernel.git [PATCH] i386 nmi_watchdog: Merge check_nmi_watchdog fixes from x86_64 The per cpu nmi watchdog timer is based on an event counter. idle cpus don't generate events so the NMI watchdog doesn't fire and the test to see if the watchdog is working fails. - Add nmi_cpu_busy so idle cpus don't mess up the test. - kmalloc prev_nmi_count to keep kernel stack usage bounded. - Improve the error message on failure so there is enough information to debug problems. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed