X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=drivers%2Facpi%2Futils.c;h=b20774c48c74f4d37e6760dc6fdb438af9a672c7;hb=8eb99e9a64a07ea08070591bdc2615526a103e62;hp=682edd913b3b103d8d58182e7351cb9ce760eb96;hpb=fb9f08548873b4ffa9f1b3f96c37fd85b9a2f8db;p=linux-2.6-microblaze.git diff --git a/drivers/acpi/utils.c b/drivers/acpi/utils.c index 682edd913b3b..b20774c48c74 100644 --- a/drivers/acpi/utils.c +++ b/drivers/acpi/utils.c @@ -872,6 +872,17 @@ acpi_dev_get_first_match_dev(const char *hid, const char *uid, s64 hrv) } EXPORT_SYMBOL(acpi_dev_get_first_match_dev); +/** + * acpi_reduced_hardware - Return if this is an ACPI-reduced-hw machine + * + * Return true when running on an ACPI-reduced-hw machine, false otherwise. + */ +bool acpi_reduced_hardware(void) +{ + return acpi_gbl_reduced_hardware; +} +EXPORT_SYMBOL_GPL(acpi_reduced_hardware); + /* * acpi_backlight= handling, this is done here rather then in video_detect.c * because __setup cannot be used in modules.