[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172458943231.2215.5248898838647596696.tip-bot2@tip-bot2>
Date: Sun, 25 Aug 2024 12:37:12 -0000
From: "tip-bot2 for Gaosheng Cui" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Gaosheng Cui <cuigaosheng1@...wei.com>,
Thomas Gleixner <tglx@...utronix.de>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/cleanups] x86/mtrr: Remove obsolete declaration for
mtrr_bp_restore()
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 741fc1d788c0aff3022249e561fd489c7adaded3
Gitweb: https://git.kernel.org/tip/741fc1d788c0aff3022249e561fd489c7adaded3
Author: Gaosheng Cui <cuigaosheng1@...wei.com>
AuthorDate: Sat, 24 Aug 2024 20:02:34 +08:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Sun, 25 Aug 2024 14:29:38 +02:00
x86/mtrr: Remove obsolete declaration for mtrr_bp_restore()
mtrr_bp_restore() has been removed in commit 0b9a6a8bedbf ("x86/mtrr: Add a
stop_machine() handler calling only cache_cpu_init()"), but the declaration
was left behind. Remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@...wei.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://lore.kernel.org/all/20240824120234.2516830-1-cuigaosheng1@huawei.com
---
arch/x86/include/asm/mtrr.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h
index 090d658..4218248 100644
--- a/arch/x86/include/asm/mtrr.h
+++ b/arch/x86/include/asm/mtrr.h
@@ -69,7 +69,6 @@ extern int mtrr_add_page(unsigned long base, unsigned long size,
unsigned int type, bool increment);
extern int mtrr_del(int reg, unsigned long base, unsigned long size);
extern int mtrr_del_page(int reg, unsigned long base, unsigned long size);
-extern void mtrr_bp_restore(void);
extern int mtrr_trim_uncached_memory(unsigned long end_pfn);
extern int amd_special_default_mtrr(void);
void mtrr_disable(void);
@@ -117,7 +116,6 @@ static inline int mtrr_trim_uncached_memory(unsigned long end_pfn)
return 0;
}
#define mtrr_bp_init() do {} while (0)
-#define mtrr_bp_restore() do {} while (0)
#define mtrr_disable() do {} while (0)
#define mtrr_enable() do {} while (0)
#define mtrr_generic_set_state() do {} while (0)
Powered by blists - more mailing lists