diff options
author | 2011-05-22 21:37:01 -0700 | |
---|---|---|
committer | 2011-05-22 21:44:13 -0700 | |
commit | 82da65dab5f438ac7df28eeb43e2f5b742aa00ef (patch) | |
tree | 0b2a579d9385c516f6fbb3e2689f6611c9228aa7 /tools/perf/scripts/python | |
parent | Remove prefetch() from <linux/skbuff.h> and "netlabel_addrlist.h" (diff) | |
download | wireguard-linux-82da65dab5f438ac7df28eeb43e2f5b742aa00ef.tar.xz wireguard-linux-82da65dab5f438ac7df28eeb43e2f5b742aa00ef.zip |
x86: setup_smep needs to be __cpuinit
The setup_smep function gets calle at resume time too, and is thus not a
pure __init function. When marked as __init, it gets thrown out after
the kernel has initialized, and when the kernel is suspended and
resumed, the code will no longer be around, and we'll get a nice "kernel
tried to execute NX-protected page" oops because the page is no longer
marked executable.
Reported-and-tested-by: Parag Warudkar <parag.lkml@gmail.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: "H. Peter Anvin" <hpa@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions