diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-16 15:45:00 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-11-16 15:45:00 +0100 |
commit | eb64821243cd6f72646b3ffb9ee2245f83256b32 (patch) | |
tree | 6b57877b8d8ae33b160103ecfa362a2867909b20 /drivers/acpi/blacklist.c | |
parent | a7d2472d8145f6d0729317e3cabe2d0f1a14a87a (diff) | |
parent | 4c47cb197e136912f4eecc68ab9410487f2df831 (diff) | |
download | linux-eb64821243cd6f72646b3ffb9ee2245f83256b32.tar.bz2 |
Merge branch 'acpi-config'
* acpi-config:
ACPI: delete CONFIG_ACPI_BLACKLIST_YEAR
Diffstat (limited to 'drivers/acpi/blacklist.c')
-rw-r--r-- | drivers/acpi/blacklist.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c index fb848378d582..078c4f7fe2dd 100644 --- a/drivers/acpi/blacklist.c +++ b/drivers/acpi/blacklist.c @@ -75,39 +75,6 @@ static struct acpi_blacklist_item acpi_blacklist[] __initdata = { {""} }; -#if CONFIG_ACPI_BLACKLIST_YEAR - -static int __init blacklist_by_year(void) -{ - int year; - - /* Doesn't exist? Likely an old system */ - if (!dmi_get_date(DMI_BIOS_DATE, &year, NULL, NULL)) { - printk(KERN_ERR PREFIX "no DMI BIOS year, " - "acpi=force is required to enable ACPI\n" ); - return 1; - } - /* 0? Likely a buggy new BIOS */ - if (year == 0) { - printk(KERN_ERR PREFIX "DMI BIOS year==0, " - "assuming ACPI-capable machine\n" ); - return 0; - } - if (year < CONFIG_ACPI_BLACKLIST_YEAR) { - printk(KERN_ERR PREFIX "BIOS age (%d) fails cutoff (%d), " - "acpi=force is required to enable ACPI\n", - year, CONFIG_ACPI_BLACKLIST_YEAR); - return 1; - } - return 0; -} -#else -static inline int blacklist_by_year(void) -{ - return 0; -} -#endif - int __init acpi_blacklisted(void) { int i = 0; @@ -166,8 +133,6 @@ int __init acpi_blacklisted(void) } } - blacklisted += blacklist_by_year(); - dmi_check_system(acpi_osi_dmi_table); return blacklisted; |