x86: we can use full bootmem after have init_memory_mapping
So remove outdated comments Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -476,15 +476,6 @@ void __init setup_arch(char **cmdline_p)
|
|||||||
*/
|
*/
|
||||||
vmi_init();
|
vmi_init();
|
||||||
#endif
|
#endif
|
||||||
/*
|
|
||||||
* NOTE: before this point _nobody_ is allowed to allocate
|
|
||||||
* any memory using the bootmem allocator. Although the
|
|
||||||
* allocator is now initialised only the first 8Mb of the kernel
|
|
||||||
* virtual address space has been mapped. All allocations before
|
|
||||||
* paging_init() has completed must use the alloc_bootmem_low_pages()
|
|
||||||
* variant (which allocates DMA'able memory) and care must be taken
|
|
||||||
* not to exceed the 8Mb limit.
|
|
||||||
*/
|
|
||||||
|
|
||||||
paging_init();
|
paging_init();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user