diff mbox

x86/mm: Drop __PAGE_OFFSET

Message ID 1502887759-9527-1-git-send-email-andrew.cooper3@citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Cooper Aug. 16, 2017, 12:49 p.m. UTC
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>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wei.liu2@citrix.com>
---
 xen/include/asm-x86/x86_64/page.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Wei Liu Aug. 16, 2017, 1:04 p.m. UTC | #1
On Wed, Aug 16, 2017 at 01:49:19PM +0100, Andrew Cooper wrote:
> 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>
Jan Beulich Aug. 16, 2017, 1:55 p.m. UTC | #2
>>> On 16.08.17 at 14:49, <andrew.cooper3@citrix.com> wrote:
> 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>

Acked-by: Jan Beulich <jbeulich@suse.com>
diff mbox

Patch

diff --git a/xen/include/asm-x86/x86_64/page.h b/xen/include/asm-x86/x86_64/page.h
index c3eab62..1256277 100644
--- a/xen/include/asm-x86/x86_64/page.h
+++ b/xen/include/asm-x86/x86_64/page.h
@@ -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. */