mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
perf_counter: more barrier in blank weak function
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>
This commit is contained in:
parent
e44aef58ec
commit
01ea1ccaa2
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue