x86: fix i486 suspend to disk CR4 oops
[linux-2.6.git] / arch / x86 / kernel / acpi / sleep.c
index 81e5ab6542d8e454f315b8c24426e5ec74058756..426e5d91b63a55d9b49d3387e2c40bb56306f104 100644 (file)
@@ -86,7 +86,7 @@ int acpi_save_state_mem(void)
 #endif /* !CONFIG_64BIT */
 
        header->pmode_cr0 = read_cr0();
-       header->pmode_cr4 = read_cr4();
+       header->pmode_cr4 = read_cr4_safe();
        header->realmode_flags = acpi_realmode_flags;
        header->real_magic = 0x12345678;