projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2ce38d
)
xen/arm: setup: Remove bogus xenheap_mfn_end in setup_mm for arm64
author
Julien Grall
<julien.grall@arm.com>
Fri, 30 Jun 2017 15:54:16 +0000
(16:54 +0100)
committer
Stefano Stabellini
<sstabellini@kernel.org>
Fri, 30 Jun 2017 20:12:40 +0000
(13:12 -0700)
xenheap_mfn_end is storing an MFN and not a physical address. The value will
be reset after the loop. So drop this bogus xenheap_mfn_end.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/setup.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/setup.c
b/xen/arch/arm/setup.c
index f00f29a45b4fedf5afaa5299e7a3f75b6a83938d..ab4d8e4218809724b89b02bf439ce0d05629bbd8 100644
(file)
--- a/
xen/arch/arm/setup.c
+++ b/
xen/arch/arm/setup.c
@@
-654,8
+654,6
@@
static void __init setup_mm(unsigned long dtb_paddr, size_t dtb_size)
if ( e > bank_end )
e = bank_end;
- xenheap_mfn_end = e;
-
dt_unreserved_regions(s, e, init_boot_pages, 0);
s = n;
}