Skip to contentSkip to conversation

x86/mm: Drop __PAGE_OFFSET

PATCH In review Andrew Cooper 3 participants 3 messages Aug 16, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/mm: Drop __PAGE_OFFSET

It is a vestigial leftover of Xen having inherited Linux's memory management code in the early days.

---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>

---
 xen/include/asm-x86/x86_64/page.h | 1 -
 1 file changed, 1 deletion(-)
xen/include/asm-x86/x86_64/page.h +0 -1
index c3eab62..1256277 100644
@@ -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. */
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel