summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mtrr.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-08-22 02:00:02 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-08-22 02:00:02 +0200
commit5400743db5a06a4e6e298725a2044c40edcb27b9 (patch)
treefc563d843e5029c2ad278c12daa1fa7ab1806e0f /arch/x86/include/asm/mtrr.h
parentx86, pat/mtrr: Rendezvous all the cpus for MTRR/PAT init (diff)
downloadlinux-5400743db5a06a4e6e298725a2044c40edcb27b9.tar.xz
linux-5400743db5a06a4e6e298725a2044c40edcb27b9.zip
x86, mtrr: make mtrr_aps_delayed_init static bool
mtr_aps_delayed_init was declared u32 and made global, but it only ever takes boolean values and is only ever used in arch/x86/kernel/cpu/mtrr/main.c. Declare it "static bool" and remove external references. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com>
Diffstat (limited to 'arch/x86/include/asm/mtrr.h')
-rw-r--r--arch/x86/include/asm/mtrr.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h
index d5366ec5cb8f..4365ffdb461f 100644
--- a/arch/x86/include/asm/mtrr.h
+++ b/arch/x86/include/asm/mtrr.h
@@ -126,7 +126,6 @@ extern void mtrr_aps_init(void);
extern void mtrr_bp_restore(void);
extern int mtrr_trim_uncached_memory(unsigned long end_pfn);
extern int amd_special_default_mtrr(void);
-extern u32 mtrr_aps_delayed_init;
# else
static inline u8 mtrr_type_lookup(u64 addr, u64 end)
{