diff options
author | Andi Kleen <andi@firstfloor.org> | 2010-06-18 23:09:00 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2010-06-18 14:16:31 -0700 |
commit | 124482935fb7fb9303c8a8ab930149c6a93d9910 (patch) | |
tree | 0c5aa0cd2e19bad8fce42d0d551e84c30f708aa5 /arch/x86/kernel/reboot.c | |
parent | 6a4f3b523779b67e7d560ed42652f8a59f2f9782 (diff) | |
download | op-kernel-dev-124482935fb7fb9303c8a8ab930149c6a93d9910.zip op-kernel-dev-124482935fb7fb9303c8a8ab930149c6a93d9910.tar.gz |
x86: Fix vsyscall on gcc 4.5 with -Os
This fixes the -Os breaks with gcc 4.5 bug. rdtsc_barrier needs to be
force inlined, otherwise user space will jump into kernel space and
kill init.
This also addresses http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44129
I believe.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
LKML-Reference: <20100618210859.GA10913@basil.fritz.box>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: <stable@kernel.org>
Diffstat (limited to 'arch/x86/kernel/reboot.c')
0 files changed, 0 insertions, 0 deletions