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 19:00:11 +0000 (12:00 -0700)
commit18e63ea35d8424f9b99ad4c53cd51f777ea17fca
treed8e5fdf019fe81f016c930489f07efb0a04e1875
parent3989298cbdafdaf0536f23677df9f29bfc44f8ad
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