diff options
author | Fenghua Yu <[email protected]> | 2011-05-20 15:33:17 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-05-21 12:46:24 +0200 |
commit | 1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0 (patch) | |
tree | 47a17a8174249b075080a043c4ab7f9963d08e1e /tools/perf/scripts/python/net_dropmonitor.py | |
parent | d47cc0db8fd6011de2248df505fc34990b7451bf (diff) |
x86, SMEP: Fix section mismatch warnings
Fix these kernel compilation warnings:
WARNING: arch/x86/built-in.o(.cpuinit.text+0x1e07): Section mismatch ...
WARNING: arch/x86/built-in.o(.cpuinit.text+0x1b10): Section mismatch ...
introduced by:
de5397ad5b9a: x86, cpu: Enable/disable Supervisor Mode Execution Protection
Change disable_smep from __initdata to __cpuinitdata.
Change setup_smep() from __init to __cpuinit.
Reported-by: Yinghai Lu <[email protected]>
Signed-off-by: Fenghua Yu <[email protected]>
Cc: Asit K Mallick <[email protected]>
Cc: Linus Torvalds <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions