x86/mm: Drop __PAGE_OFFSET
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Aug 2017 12:47:25 +0000 (13:47 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 16 Aug 2017 17:21:32 +0000 (18:21 +0100)
It is a vestigial leftover of Xen having inherited Linux's memory management
code in the early days.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/x86_64/page.h

index 523ff5c60d162fbe3d68f4c0eb7d2efb24504bea..947e52bd14dacc59ad80a0ddb2ebd9ed1e7f7968 100644 (file)
@@ -19,7 +19,6 @@
 #define SUPERPAGE_ORDER         PAGETABLE_ORDER
 #define SUPERPAGE_PAGES         (1<<SUPERPAGE_ORDER)
 
-#define __PAGE_OFFSET           DIRECTMAP_VIRT_START
 #define __XEN_VIRT_START        XEN_VIRT_START
 
 /* These are architectural limits. Current CPUs support only 40-bit phys. */