]> err.no Git - linux-2.6/blobdiff - arch/s390/kernel/early.c
[POWERPC] spufs: lockdep annotations for spufs_dir_close
[linux-2.6] / arch / s390 / kernel / early.c
index 540a67f979b64820e4b45319451b1e3897ebb0e0..68ec4083bf73910641d32334494c809318ae7c17 100644 (file)
@@ -144,6 +144,10 @@ static noinline __init void detect_machine_type(void)
        /* Running on a P/390 ? */
        if (cpuinfo->cpu_id.machine == 0x7490)
                machine_flags |= 4;
+
+       /* Running under KVM ? */
+       if (cpuinfo->cpu_id.version == 0xfe)
+               machine_flags |= 64;
 }
 
 #ifdef CONFIG_64BIT