From: Andi Kleen Date: Fri, 18 Jun 2010 21:09:00 +0000 (+0200) Subject: x86: Fix vsyscall on gcc 4.5 with -Os X-Git-Tag: v2.6.35-rc4~50^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124482935fb7fb9303c8a8ab930149c6a93d9910;p=pandora-kernel.git 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 LKML-Reference: <20100618210859.GA10913@basil.fritz.box> Signed-off-by: H. Peter Anvin Cc: --- Reading git-diff-tree failed