summaryrefslogtreecommitdiff
path: root/include/acpi/acpi_drivers.h
diff options
context:
space:
mode:
authorJerry Hoemann <jerry.hoemann@hpe.com>2016-04-11 15:02:26 -0700
committerDan Williams <dan.j.williams@intel.com>2016-04-11 15:02:26 -0700
commitc7e16e5257ec46530e3e874af38191746c137c83 (patch)
tree63f2cfd89ef5d4f6c4f5008854cbd0849f235870 /include/acpi/acpi_drivers.h
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff)
downloadlwn-c7e16e5257ec46530e3e874af38191746c137c83.tar.gz
lwn-c7e16e5257ec46530e3e874af38191746c137c83.zip
acpi: widen acpi_evaluate_dsm() revision and function-index arguments
The ACPI specification states that arguments "Revision ID" and "Function Index" to a _DSM are type "Integer." Type Integers are 64 bit quantities. The function evaluate_dsm specifies these types as simple "int" which are 32 bits. Widen type passed to acpi_evaluate_dsm and its callers and derived callers to pass correct type. acpi_check_dsm and acpi_evaluate_dsm_typed had similar issue and were corrected as well. This is in preparation for libnvdimm implementing a generic _DSM passthrough facility to have the capacity to pass 64-bit values as the ACPI specification allows. [djbw: clarify the changelog, add rationale] Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/acpi/acpi_drivers.h')
0 files changed, 0 insertions, 0 deletions