From 908cffc6a1ff3a7b61be45844d3a1ae8672b4e7d Mon Sep 17 00:00:00 2001 From: Fenghua Yu Date: Fri, 20 May 2011 15:33:17 -0700 Subject: [PATCH] --- yaml --- r: 248115 b: refs/heads/master c: 1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0 h: refs/heads/master i: 248113: 2d81d7bc0b93892f452c59da84991abe044beec6 248111: 2301f6145b93c7994b4b66e9aeb7775df03dc01f v: v3 --- [refs] | 2 +- trunk/arch/x86/kernel/cpu/common.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index b526d8cda9df..97b445138f5d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d47cc0db8fd6011de2248df505fc34990b7451bf +refs/heads/master: 1d487624fcc17a40aa67acaa9e8f3815fb7cd0f0 diff --git a/trunk/arch/x86/kernel/cpu/common.c b/trunk/arch/x86/kernel/cpu/common.c index cbc70a27430c..c8b41623377f 100644 --- a/trunk/arch/x86/kernel/cpu/common.c +++ b/trunk/arch/x86/kernel/cpu/common.c @@ -254,7 +254,7 @@ static inline void squash_the_stupid_serial_number(struct cpuinfo_x86 *c) } #endif -static int disable_smep __initdata; +static int disable_smep __cpuinitdata; static __init int setup_disable_smep(char *arg) { disable_smep = 1; @@ -262,7 +262,7 @@ static __init int setup_disable_smep(char *arg) } __setup("nosmep", setup_disable_smep); -static __init void setup_smep(struct cpuinfo_x86 *c) +static __cpuinit void setup_smep(struct cpuinfo_x86 *c) { if (cpu_has(c, X86_FEATURE_SMEP)) { if (unlikely(disable_smep)) {