mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/acpi: remove unused ACPI_FLUSH_CPU_CACHE macro
@ 2026-06-14 14:40 Ashwin Gundarapu
  2026-06-14 23:50 ` kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: Ashwin Gundarapu @ 2026-06-14 14:40 UTC (permalink / raw)
  To: tglx; +Cc: x86, linux-kernel

From 97f29e8874ab462cd741a5d202d833e3ba9f1c26 Mon Sep 17 00:00:00 2001
From: Ashwin Gundarapu <linuxuser509@outlook.com>
Date: Sun, 14 Jun 2026 20:00:42 +0530
Subject: [PATCH] x86/acpi: remove unused ACPI_FLUSH_CPU_CACHE macro

The ACPI_FLUSH_CPU_CACHE macro is unused in arch/x86/. Remove it.

Signed-off-by: Ashwin Gundarapu <linuxuser509@zohomail.in>
---
 arch/x86/include/asm/acenv.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/x86/include/asm/acenv.h b/arch/x86/include/asm/acenv.h
index d937c55e717e..db29f77352d3 100644
--- a/arch/x86/include/asm/acenv.h
+++ b/arch/x86/include/asm/acenv.h
@@ -21,11 +21,6 @@
  * Changing sleep state in a virtual machine doesn't affect the host system
  * sleep state and cannot lead to data loss.
  */
-#define ACPI_FLUSH_CPU_CACHE()					\
-do {								\
-	if (!cpu_feature_enabled(X86_FEATURE_HYPERVISOR))	\
-		wbinvd();					\
-} while (0)
 
 int __acpi_acquire_global_lock(unsigned int *lock);
 int __acpi_release_global_lock(unsigned int *lock);
-- 
2.47.3




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-14 23:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-14 14:40 [PATCH] x86/acpi: remove unused ACPI_FLUSH_CPU_CACHE macro Ashwin Gundarapu
2026-06-14 23:50 ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®