diff options
author | Yinghai Lu <yinghai@kernel.org> | 2008-12-27 06:05:06 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-27 11:58:48 +0100 |
commit | 01ea1ccaa24dea3552e103be13b7897211607a8b (patch) | |
tree | 38c1e83ba1e144113307a6763cdccaf3d6727869 /drivers/net/tulip/pnic2.c | |
parent | perfcounters: include asm/perf_counter.h only if CONFIG_PERF_COUNTERS=y (diff) | |
download | linux-01ea1ccaa24dea3552e103be13b7897211607a8b.tar.xz linux-01ea1ccaa24dea3552e103be13b7897211607a8b.zip |
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>
Diffstat (limited to 'drivers/net/tulip/pnic2.c')
0 files changed, 0 insertions, 0 deletions