diff options
author | Christophe Saout <christophe@saout.de> | 2009-01-11 11:46:23 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-12 09:50:34 +0100 |
commit | 28e08861b9afab4168b758fb7b95aa7a4da0f668 (patch) | |
tree | 63e7ecdc2f47dab32ff5c4caabbf2bbbe0e24087 /arch/sparc/kernel/prom_common.c | |
parent | 92296c6d6e908c35fca287a21af27be814af9c75 (diff) |
xen: fix too early kmalloc call
Impact: fix bootup crash on xen guests
SLAB is not yet up, with earlyprintk it is giving me an Oops in __kmalloc.
Replace call to kmalloc() with alloc_bootmem().
Reported-by: Christophe Saout <christophe@saout.de>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/sparc/kernel/prom_common.c')
0 files changed, 0 insertions, 0 deletions