Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <ubizjak@gmail.com>
Link: https://patch.msgid.link/20250609064235.49146-1-ubizjak@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Uros Bizjak and committed by
Rafael J. Wysocki
2f76d269 19272b37

+1 -1
+1 -1
drivers/acpi/acpi_pad.c
··· 33 33 static DEFINE_MUTEX(isolated_cpus_lock); 34 34 static DEFINE_MUTEX(round_robin_lock); 35 35 36 - static unsigned long power_saving_mwait_eax; 36 + static unsigned int power_saving_mwait_eax; 37 37 38 38 static unsigned char tsc_detected_unstable; 39 39 static unsigned char tsc_marked_unstable;