diff options
author | Cliff Wickman <cpw@sgi.com> | 2008-10-24 02:54:05 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-27 16:17:16 +0300 |
commit | ef020ab0109aa5cd6eac2e93519b7641c9862828 (patch) | |
tree | 2ad7a8baa2b26d71c6217a204d2114c83c6baa69 /net/unix/sysctl_net_unix.c | |
parent | 9f32d21c981bb638d0991ce5675a20337312066b (diff) | |
download | linux-ef020ab0109aa5cd6eac2e93519b7641c9862828.tar.xz |
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 <cpw@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions