projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d995048
)
xen: arm: when ALLOCATING p2m entries maddr is meaningless
author
Ian Campbell
<ian.campbell@citrix.com>
Mon, 14 Jul 2014 16:27:04 +0000
(17:27 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Fri, 18 Jul 2014 12:38:09 +0000
(13:38 +0100)
The maddr differs on each loop depending on the pages which happen to get
allocated.
There is already an assertion that maddr == 0.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/p2m.c
b/xen/arch/arm/p2m.c
index 69029f469fdaad72aedea9fa38248fe42f340783..c3d63f08abdb5db799fc29b8b4804c54fc59a20e 100644
(file)
--- a/
xen/arch/arm/p2m.c
+++ b/
xen/arch/arm/p2m.c
@@
-501,7
+501,6
@@
static int apply_one_level(struct domain *d,
p2m->stats.mappings[level]++;
*addr += level_size;
- *maddr += level_size;
return P2M_ONE_PROGRESS;
}