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:52:38 +0000 (14:52 -0700)
commit5e03b3d8ef01cddcbd1a7200406327e27451822e
tree860f6fd99079fe38c92144f2758dda7e73ede25e
parent7ecbe6e0a0b46ea942117cec3a588edff1fb8057
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