x86, mce: trivial clean up for mce-inject.c
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Thu, 28 May 2009 02:41:01 +0000 (11:41 +0900)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 May 2009 16:24:16 +0000 (09:24 -0700)
commit98a9c8c3ba13dfc3df8e6d2a126d2fa4e4621e9c
tree3a3fa59159ba65160df4ae600725eddcc8782a17
parent61a021a0700c22ee527d73d92f9acb109ff478f8
x86, mce: trivial clean up for mce-inject.c

Fix for:

WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
+#include <asm/uaccess.h>

WARNING: usage of NR_CPUS is often wrong - consider using cpu_possible(), num_possible_cpus(), for_each_possible_cpu(), etc
+       if (m.cpu >= NR_CPUS || !cpu_online(m.cpu))

ERROR: trailing whitespace
+/* $

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/cpu/mcheck/mce-inject.c