]> git.ipfire.org Git - people/ms/linux.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 19 Aug 2014 12:23:38 +0000 (14:23 +0200)
commit24ebf77fa93bc2c5879f1d19973a78ecd1a8cfed
treedefb9d1df621717062ff956c50895e3894090648
parent7e329475de1f97df56e1cfa412e5b3479994c202
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: Jiri Slaby <jslaby@suse.cz>
arch/x86/include/asm/espfix.h [new file with mode: 0644]
arch/x86/include/asm/setup.h
arch/x86/kernel/espfix_64.c