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)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 1 May 2014 21:16:15 +0000 (14:16 -0700)
commite1fe9ed8d2a4937510d0d60e20705035c2609aea
treed749d9eea67112d91ee90a617d3aba009014e40f
parent246f2d2ee1d715e1077fc47d61c394569c8ee692
x86, espfix: Move espfix definitions into a separate header file

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>
arch/x86/include/asm/espfix.h [new file with mode: 0644]
arch/x86/include/asm/setup.h
arch/x86/kernel/espfix_64.c