aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/user-return-notifier.c
diff options
context:
space:
mode:
authorJiang Liu <jiang.liu@linux.intel.com>2013-12-19 07:38:14 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-05 10:07:14 -0500
commit2fc59fe2ecdca56a68728b6091590c07bb3e358d (patch)
tree64591b36eaf2df389b13dc2b3cce3cc5b31d4223 /kernel/user-return-notifier.c
parent1d0fcef732832432aee47cb75bf4a2cb3107be64 (diff)
PCI / pci-label: treat PCI label with index 0 as valid label
Current pci-label driver detects ACPI label by checking label index returned by ACPI _DSM method, and treats it as valid if label index is positive. According to ACPI Firmware specification 3.1, zero is also an valid label index. So change code to detect availability of ACPI slot label by checking availaiblity of ACPI _DSM function for PCI label. Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/user-return-notifier.c')
0 files changed, 0 insertions, 0 deletions