ACPI: processor: push file static MADT pointer into internal map_madt_entry()
authorAlex Chiang <achiang@hp.com>
Mon, 22 Feb 2010 19:12:00 +0000 (12:12 -0700)
committerLen Brown <len.brown@intel.com>
Mon, 15 Mar 2010 01:17:26 +0000 (21:17 -0400)
commit149fe9c293f76803206648270ca24fc2604d5f01
tree2649f879445879ab2bba0d85a0e94e8b5d1676df
parenteae701ceadf5aa3fc3b334029ef71f6885ef1cde
ACPI: processor: push file static MADT pointer into internal map_madt_entry()

There's no real need for a pointer to the MADT to be global. The only
function who uses it is map_madt_entry.

This allows us to remove some more ugly #ifdefs.

Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c