]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: use WARN() in arch/x86/kernel
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 8 Jul 2008 16:51:56 +0000 (09:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 21 Aug 2008 08:01:52 +0000 (10:01 +0200)
commitbde78a79a6eb015f33aa4660df1b06f5135def20
treeeaf517054fa73cd871e0dba198852e32b136a7bd
parent0c072bb452f0cfd4959bc01ff3627d6385255b20
x86: use WARN() in arch/x86/kernel

Use WARN() instead of a printk+WARN_ON() pair; this way the message
becomes part of the warning section for better reporting/collection.
This also allowed the folding of some if()'s into the WARN()

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: akpm@linux-foundation.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mtrr/main.c
arch/x86/kernel/pci-calgary_64.c
arch/x86/kernel/tsc_sync.c