x86_64: add pseudo-features for 32-bit compat syscall
[deliverable/linux.git] / arch / x86 / kernel / cpu / common_64.c
index 751850235291c2663aa930a33c5cbda2e123b1e0..36537ab9e56ad7c36ed8abe9d402636d6aca9a5d 100644 (file)
@@ -314,6 +314,9 @@ static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
        if (c->extended_cpuid_level >= 0x80000007)
                c->x86_power = cpuid_edx(0x80000007);
 
+       /* Assume all 64-bit CPUs support 32-bit syscall */
+       set_cpu_cap(c, X86_FEATURE_SYSCALL32);
+
        if (c->x86_vendor != X86_VENDOR_UNKNOWN &&
            cpu_devs[c->x86_vendor]->c_early_init)
                cpu_devs[c->x86_vendor]->c_early_init(c);
This page took 0.026384 seconds and 5 git commands to generate.