Files
ubports_kernel_google_msm/include
Hugh Dickins 9752082560 x86: vget_cycles() __always_inline
Mark vget_cycles() as __always_inline, so gcc is never tempted to make
the vsyscall vread_tsc() dive into kernel text, with resulting SIGSEGV.

This was a self-inflicted wound: I've not seen that happen with unhacked
sources; but for debug reasons I'd changed my x86/Makefile to compile
no-unit-at-a-time, and that in conjunction with OPTIMIZE_INLINING=y
ended up with vget_cycles() in kernel text.  Perhaps it can happen
in other ways: safer to use __always_inline.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-04-29 13:45:24 +02:00
..
2008-04-28 08:58:23 -07:00
2008-04-28 08:58:23 -07:00
2008-04-28 08:58:34 -07:00
2008-04-28 10:03:31 -07:00
2008-04-28 08:58:23 -07:00
2008-04-28 08:58:23 -07:00
2008-04-28 08:58:23 -07:00
2008-04-22 15:16:31 -05:00
2008-04-24 23:57:33 +02:00