projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6a8da
)
xen/arm: setup: use maddr_to_mfn rather than _mfn(paddr_to_pfn(...))
author
Julien Grall
<julien.grall@arm.com>
Wed, 21 Feb 2018 13:46:23 +0000
(13:46 +0000)
committer
Julien Grall
<julien.grall@arm.com>
Fri, 6 Apr 2018 08:43:29 +0000
(09:43 +0100)
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
Acked-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 e6f8e23abd92d4855d2d42aca88a8cb48c6b4ab4..6e49e8fd1f62d6f7f38c9d77cc88fe866f971bdc 100644
(file)
--- a/
xen/arch/arm/setup.c
+++ b/
xen/arch/arm/setup.c
@@
-268,8
+268,8
@@
void __init discard_initial_modules(void)
if ( mi->module[i].kind == BOOTMOD_XEN )
continue;
- if ( !mfn_valid(
_mfn(paddr_to_pfn(s)
)) ||
- !mfn_valid(
_mfn(paddr_to_pfn(e)))
)
+ if ( !mfn_valid(
maddr_to_mfn(s
)) ||
+ !mfn_valid(
maddr_to_mfn(e))
)
continue;
dt_unreserved_regions(s, e, init_domheap_pages, 0);