Revert "make physical memory allocator try to reserve memory areas with (size/2)-aligned addresses"

This reverts commit d4770bc9af.
This commit is contained in:
Masamichi Takagi m-takagi@ab.jp.nec.com
2012-11-26 14:32:25 +09:00
parent cf975e1926
commit 22bd5d8247

View File

@ -101,10 +101,7 @@ static void page_allocator_init(void)
pa_start = aal_mc_get_memory_address(AAL_MC_GMA_AVAIL_START, 0);
pa_end = aal_mc_get_memory_address(AAL_MC_GMA_AVAIL_END, 0);
// pa_start &= PAGE_MASK;
// physical memory allocator stores bitmap in array of long int
// so the unit size is 64-page
pa_start = (pa_start + PAGE_SIZE * 64 - 1) & ~(PAGE_SIZE * 64 - 1);
pa_start &= PAGE_MASK;
pa_end = (pa_end + PAGE_SIZE - 1) & PAGE_MASK;
/*