ACPI: acpi_pad: Update arguments of mwait_idle_with_hints()
PATCH 1/1 ACPI: acpi_pad: Update arguments of mwait_idle_with_hints()
Commit a17b37a3f416 ("x86/idle: Change arguments of mwait_idle_with_hints() to u32") changed the type of arguments of mwait_idle_with_hints() from unsigned long to u32. Change the type of variables in the call to mwait_idle_with_hints() to unsigned int to follow the change.
Signed-off-by Uros Bizjak <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Len Brown <[email protected]>
--- drivers/acpi/acpi_pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/acpi_pad.c +1 -1
@@ -33,7 +33,7 @@static DEFINE_MUTEX (isolated_cpus_lock);static DEFINE_MUTEX (round_robin_lock); -static unsigned long power_saving_mwait_eax; +static unsigned int power_saving_mwait_eax;static unsigned char tsc_detected_unstable;static unsigned char tsc_marked_unstable;
Signature · 1 line
2.49.0
Quoted 18 lines · Uros Bizjak
Commit
a17b37a3f416("x86/idle: Change arguments ofmwait_idle_with_hints()to u32") changed the type of arguments ofmwait_idle_with_hints()from unsigned long to u32. Change the type of variables in the call tomwait_idle_with_hints()to unsigned int to follow the change.Signed-off-by Uros Bizjak <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Len Brown <[email protected]>--- drivers/acpi/acpi_pad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/acpi_pad.c +0
-0
drivers/acpi/acpi_pad.c
Quoted 9 lines
drivers/acpi/acpi_pad.c +1
-2@@ -33,7 +33,7 @@static DEFINE_MUTEX (isolated_cpus_lock);static DEFINE_MUTEX (round_robin_lock); -static unsigned long power_saving_mwait_eax; +static unsigned int power_saving_mwait_eax;static unsigned char tsc_detected_unstable;static unsigned char tsc_marked_unstable; --
Applied as 6.16-rc material, thanks!