perf_counter: more barrier in blank weak function
authorYinghai Lu <yinghai@kernel.org>
Sat, 27 Dec 2008 05:05:06 +0000 (21:05 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 27 Dec 2008 10:58:48 +0000 (11:58 +0100)
Impact: fix panic possible panic

Some versions of GCC inline the weak global function if it's empty.
Add a barrier() to work it around.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found