From: Cliff Wickman Date: Thu, 23 Oct 2008 22:54:05 +0000 (-0500) Subject: x86/uv: memory allocation at initialization X-Git-Tag: v2.6.28-rc3~91^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef020ab0109aa5cd6eac2e93519b7641c9862828;p=pandora-kernel.git x86/uv: memory allocation at initialization Impact: on SGI UV platforms, fix boot crash UV initialization is currently called too late to call alloc_bootmem_pages(). The current sequence is: start_kernel() mem_init() free_all_bootmem() <--- discard of bootmem rest_init() kernel_init() smp_prepare_cpus() native_smp_prepare_cpus() uv_system_init() <--- uses alloc_bootmem_pages() It should be calling kmalloc(). Signed-off-by: Cliff Wickman Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed