virtio: rng: add derating factor for use by hwrng core
[linux-2.6-block.git] / drivers / acpi / sleep.c
index b3e3cc73ba796edf49d856c203e441c5ab818420..54da4a3fe65e65d4b6334d93b82244f95c245b1f 100644 (file)
@@ -322,6 +322,11 @@ static struct dmi_system_id acpisleep_dmi_table[] __initdata = {
 
 static void acpi_sleep_dmi_check(void)
 {
+       int year;
+
+       if (dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL) && year >= 2012)
+               acpi_nvs_nosave_s3();
+
        dmi_check_system(acpisleep_dmi_table);
 }