aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/mtrr.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
committerTim Deegan <Tim.Deegan@citrix.com>2011-05-27 08:56:12 +0100
commitf87806bcecfdd4d57bc1b543045ce3bfa84332a4 (patch)
tree26d8986e03ce83ad6d00a3b22da9915d531a4a63 /xen/arch/x86/hvm/mtrr.c
parent2d680dadf189da1774c086f6eed72e5da564eb1e (diff)
downloadxen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.gz
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.tar.bz2
xen-f87806bcecfdd4d57bc1b543045ce3bfa84332a4.zip
xen: remove more declarations from C files.
This patch moves some more, mostly data, extern declarations into header files. I haven't been as strict as I was with functions; in particular there are a number of declarations of assembler labels that are only used in one place. I've also left a few compat-mode tricks, and all the magic in symbols.c Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/mtrr.c')
-rw-r--r--xen/arch/x86/hvm/mtrr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/arch/x86/hvm/mtrr.c b/xen/arch/x86/hvm/mtrr.c
index 56b566f3ba..70e0597d59 100644
--- a/xen/arch/x86/hvm/mtrr.c
+++ b/xen/arch/x86/hvm/mtrr.c
@@ -28,8 +28,6 @@
#include <asm/hvm/support.h>
#include <asm/hvm/cacheattr.h>
-extern struct mtrr_state mtrr_state;
-
static uint32_t size_or_mask;
/* Get page attribute fields (PAn) from PAT MSR. */