]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: watchdog - check for CPU is being supported
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 3 Jun 2008 21:00:58 +0000 (01:00 +0400)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 5 Jun 2008 13:14:14 +0000 (15:14 +0200)
commit1a1b1d1322ebd1ece405f3057cdd408bc77e391d
tree32eec40d8c8280e4f44425f5aa7df5ecd38b810e
parent3ed3f06295e69700fa808396f7b350bff2b69de0
x86: watchdog - check for CPU is being supported

This patch does check if CPU is being recongnized
before call the unreserve(). Since enable_lapic_nmi_watchdog()
does have such a check the same is make sense here too
in a sake of code consistency (but nothing more).

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: mingo@redhat.com
Cc: hpa@zytor.com
Cc: macro@linux-mips.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/perfctr-watchdog.c