mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1458 (428c48ecnHqb4lxc2c4KfJZ0p7500Q)
init_boot_pages() should ignore sub-page regions. Signed-off-by: Matthew Chapman <matthewc@hp.com> Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
f7a1fe40de
commit
e9d95b3170
1 file changed
+2
@@ -156,6 +156,8 @@ void init_boot_pages(unsigned long ps, unsigned long pe)
|
||||
|
||||
ps = round_pgup(ps);
|
||||
pe = round_pgdown(pe);
|
||||
if ( pe <= ps )
|
||||
return;
|
||||
|
||||
map_free(ps >> PAGE_SHIFT, (pe - ps) >> PAGE_SHIFT);
|
||||
|
||||
|
||||