]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ACPI: PAD: Update arguments of mwait_idle_with_hints()
authorUros Bizjak <ubizjak@gmail.com>
Mon, 9 Jun 2025 06:42:06 +0000 (08:42 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Jun 2025 18:47:56 +0000 (20:47 +0200)
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>
drivers/acpi/acpi_pad.c

index 6f8bbe1247a5d4f3fa44ee0792cd834a4203e8a3..c9a0bcaba2e4c148b45c3d8f5da73ccb50022858 100644 (file)
@@ -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;