aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/lib/physmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/physmem.c')
-rw-r--r--arch/x86/lib/physmem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/physmem.c b/arch/x86/lib/physmem.c
index 18f0e62acd0..59b3fe977d8 100644
--- a/arch/x86/lib/physmem.c
+++ b/arch/x86/lib/physmem.c
@@ -12,6 +12,8 @@
#include <physmem.h>
#include <linux/compiler.h>
+DECLARE_GLOBAL_DATA_PTR;
+
/* Large pages are 2MB. */
#define LARGE_PAGE_SIZE ((1 << 20) * 2)