x86/mce: Make usable address checks Intel-only
authorBorislav Petkov <bp@suse.de>
Tue, 24 Nov 2015 07:41:20 +0000 (08:41 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 24 Nov 2015 08:12:35 +0000 (09:12 +0100)
commitfeab21f8356bde572663e29c9d9e48c964292e05
treef50e0e7ce3e2404b8a9e0ee7dbbbe1f3f71f6098
parentdb548a28fcee0f38cf4c7c726becf24c8afacf02
x86/mce: Make usable address checks Intel-only

The MCi_MISC bitfield definitions mce_usable_address() checks
are Intel-only. Make them so.

While at it, move mce_usable_address() up, before all its
callers and get rid of the forward declaration.

Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1448350880-5573-5-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/mcheck/mce.c