arch/x86/kernel/cpu/common.c: fix unused symbol warning
[deliverable/linux.git] / arch / x86 / kernel / cpu / common.c
index d8b1166c788821268700d32ac70aef591badde0d..8b699bff009903dca108df2b9232f697d43acec1 100644 (file)
@@ -964,6 +964,7 @@ static void vgetcpu_set_mode(void)
                vgetcpu_mode = VGETCPU_LSL;
 }
 
+#ifdef CONFIG_IA32_EMULATION
 /* May not be __init: called during resume */
 static void syscall32_cpu_init(void)
 {
@@ -975,7 +976,8 @@ static void syscall32_cpu_init(void)
 
        wrmsrl(MSR_CSTAR, ia32_cstar_target);
 }
-#endif
+#endif         /* CONFIG_IA32_EMULATION */
+#endif         /* CONFIG_X86_64 */
 
 #ifdef CONFIG_X86_32
 void enable_sep_cpu(void)
This page took 0.027647 seconds and 5 git commands to generate.