diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-06-23 16:03:02 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-06-23 16:03:02 +0000 |
commit | cb6e4068e082f5f5a8abc933394066fee56d6d4d (patch) | |
tree | 02720e71b394514e637236e78af15a8713ca3b70 /xen/arch/x86/mpparse.c | |
parent | 081403908b0d23cf10efab7699503cb262f117b9 (diff) | |
download | xen-cb6e4068e082f5f5a8abc933394066fee56d6d4d.tar.gz xen-cb6e4068e082f5f5a8abc933394066fee56d6d4d.tar.bz2 xen-cb6e4068e082f5f5a8abc933394066fee56d6d4d.zip |
bitkeeper revision 1.1007 (40d9a9b67QWaIdCVPMQU8ujlBGA1nQ)
Remove GFP_* flags from memory allocators.
Something similar may get added back to the buddy allocator if it
gets used for allocating domain memory on some architectures.
Diffstat (limited to 'xen/arch/x86/mpparse.c')
-rw-r--r-- | xen/arch/x86/mpparse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/arch/x86/mpparse.c b/xen/arch/x86/mpparse.c index 3a77390ba9..ae1e1da93b 100644 --- a/xen/arch/x86/mpparse.c +++ b/xen/arch/x86/mpparse.c @@ -509,7 +509,7 @@ static int __init smp_read_mpc(struct mp_config_table *mpc) count = (max_mp_busses * sizeof(int)) * 4; count += (max_irq_sources * sizeof(struct mpc_config_intsrc)); - bus_data = (void *)__get_free_pages(GFP_KERNEL, get_order(count)); + bus_data = (void *)__get_free_pages(get_order(count)); if (!bus_data) { printk(KERN_ERR "SMP mptable: out of memory!\n"); return 0; @@ -694,7 +694,7 @@ static inline void __init construct_default_ISA_mptable(int mpc_default_type) struct mpc_config_intsrc mp_irqs[MAX_IRQ_SOURCES]; } *bus_data; - bus_data = (void *)__get_free_pages(GFP_KERNEL, get_order(sizeof(*bus_data))); + bus_data = (void *)__get_free_pages(get_order(sizeof(*bus_data))); if (!bus_data) panic("SMP mptable: out of memory!\n"); mp_bus_id_to_type = bus_data->mp_bus_id_to_type; @@ -1171,7 +1171,7 @@ void __init mp_config_acpi_legacy_irqs (void) count = (MAX_MP_BUSSES * sizeof(int)) * 4; count += (MAX_IRQ_SOURCES * sizeof(int)) * 4; - bus_data = (void *)__get_free_pages(GFP_KERNEL, get_order(count)); + bus_data = (void *)__get_free_pages(get_order(count)); if (!bus_data) { panic("Fatal: can't allocate bus memory for ACPI legacy IRQ!"); } |