aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/kernel/cpu/mtrr/mtrr.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-03-11 20:07:39 -0700
committerIngo Molnar <mingo@elte.hu>2009-03-13 02:52:19 +0100
commit0d890355bff25e1dc03a577a90ed80741489ca54 (patch)
tree0cb740303fd6d94108e2e18086f77716fec32586 /arch/x86/kernel/cpu/mtrr/mtrr.h
parentx86: print out mtrr_range_state when user specify size (diff)
downloadwireguard-linux-0d890355bff25e1dc03a577a90ed80741489ca54.tar.xz
wireguard-linux-0d890355bff25e1dc03a577a90ed80741489ca54.zip
x86: separate mtrr cleanup/mtrr_e820 trim to separate file
Impact: cleanup mtrr main.c is too big, seperate mtrr cleanup and mtrr e820 trim code to another file. Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <49B87C7B.80809@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/mtrr.h')
-rw-r--r--arch/x86/kernel/cpu/mtrr/mtrr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/mtrr.h b/arch/x86/kernel/cpu/mtrr/mtrr.h
index ffd60409cc6d..6710e93021a7 100644
--- a/arch/x86/kernel/cpu/mtrr/mtrr.h
+++ b/arch/x86/kernel/cpu/mtrr/mtrr.h
@@ -88,3 +88,6 @@ void mtrr_wrmsr(unsigned, unsigned, unsigned);
int amd_init_mtrr(void);
int cyrix_init_mtrr(void);
int centaur_init_mtrr(void);
+
+extern int changed_by_mtrr_cleanup;
+extern int mtrr_cleanup(unsigned address_bits);