summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/test_nx.c
diff options
context:
space:
mode:
authorFenghua Yu <fenghua.yu@intel.com>2011-05-20 15:33:17 -0700
committerIngo Molnar <mingo@elte.hu>2011-05-21 12:46:24 +0200
commit1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0 (patch)
tree47a17a8174249b075080a043c4ab7f9963d08e1e /arch/x86/kernel/test_nx.c
parentd47cc0db8fd6011de2248df505fc34990b7451bf (diff)
downloadtalos-op-linux-1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0.tar.gz
talos-op-linux-1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0.zip
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 <yinghai@kernel.org> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com> Cc: Asit K Mallick <asit.k.mallick@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/1305930797-11409-1-git-send-email-fenghua.yu@intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/test_nx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud