]> err.no Git - linux-2.6/commit
x86: use WARN() in arch/x86/mm/pageattr.c
authorArjan van de Ven <arjan@linux.intel.com>
Wed, 30 Jul 2008 19:26:26 +0000 (12:26 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Aug 2008 17:05:39 +0000 (19:05 +0200)
commit875e40b97571e1f06d1184ad6cbb2acf9cb31a23
tree8908cd7e464b16a363e3f49512f10ba626cfd517
parenta726c6009e6eba4acfccf8b683854866eeabb184
x86: use WARN() in arch/x86/mm/pageattr.c

Use WARN() instead of a printk+WARN_ON() pair; this way the message becomes
part of the warning section for better reporting/collection.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: akpm@linux-foundation.org
Cc: arjan@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/pageattr-test.c
arch/x86/mm/pageattr.c