xen: fix too early kmalloc call
authorChristophe Saout <christophe@saout.de>
Sun, 11 Jan 2009 19:46:23 +0000 (11:46 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 12 Jan 2009 08:50:34 +0000 (09:50 +0100)
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>

No differences found