x86, espfix: Move espfix definitions into a separate header file
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 1 May 2014 21:12:23 +0000 (14:12 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Aug 2014 21:30:26 +0000 (14:30 -0700)
commitebb3e5b75860d94180cdfcdfe34387ca510a2d1f
tree08f8c3830e3b16d90d91724ddbd68fed06763a36
parenta7b854c979859471402fe4fd275d3c584ff40f8a
x86, espfix: Move espfix definitions into a separate header file

commit e1fe9ed8d2a4937510d0d60e20705035c2609aea upstream.

Sparse warns that the percpu variables aren't declared before they are
defined.  Rather than hacking around it, move espfix definitions into
a proper header file.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/espfix.h [new file with mode: 0644]
arch/x86/include/asm/setup.h
arch/x86/kernel/espfix_64.c