x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros
[deliverable/linux.git] / arch / x86 / kernel / vm86_32.c
index 5246193519614dbd8d3a602544e8117376df05f7..483231ebbb0b2e254bbd749997e7b3feea62bb44 100644 (file)
@@ -357,8 +357,10 @@ static long do_sys_vm86(struct vm86plus_struct __user *user_vm86, bool plus)
        tss = &per_cpu(cpu_tss, get_cpu());
        /* make room for real-mode segments */
        tsk->thread.sp0 += 16;
-       if (cpu_has_sep)
+
+       if (static_cpu_has_safe(X86_FEATURE_SEP))
                tsk->thread.sysenter_cs = 0;
+
        load_sp0(tss, &tsk->thread);
        put_cpu();
 
This page took 0.201454 seconds and 5 git commands to generate.