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)
commit28e08861b9afab4168b758fb7b95aa7a4da0f668
tree63e7ecdc2f47dab32ff5c4caabbf2bbbe0e24087
parent92296c6d6e908c35fca287a21af27be814af9c75
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>
drivers/xen/events.c