From: Thomas Renninger Date: Fri, 4 Nov 2011 02:33:46 +0000 (+0100) Subject: ACPI: Export FADT pm_profile integer value to userspace X-Git-Tag: v3.2-rc1~10^2~1^4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=362b646062b2073bd5c38efb42171d86e4f717e6;p=pandora-kernel.git ACPI: Export FADT pm_profile integer value to userspace There are a lot userspace approaches to detect the usage of the platform (laptop, workstation, server, ...) and adjust kernel tunables accordingly (io/process scheduler, power management, ...). These approaches need constant maintaining and are ugly to implement (detect PCMCIA controller -> laptop, does not work on recent systems anymore, ...) On ACPI systems there is an easy and reliable way (if implemented in BIOS and most recent platforms have this value set). -> export it to userspace. Signed-off-by: Thomas Renninger Acked-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed