aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-generic
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-03-09 16:23:09 +0000
committerJan Beulich <jbeulich@novell.com>2011-03-09 16:23:09 +0000
commit601d06e2fbe0c9af5b454840cc6c293fd3efe73d (patch)
treef62600fb9b15b82484a28d1632508241b70568b9 /xen/include/asm-x86/mach-generic
parent086c24e10f31f887e81dc89300ea4632c94acb2b (diff)
downloadxen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.tar.gz
xen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.tar.bz2
xen-601d06e2fbe0c9af5b454840cc6c293fd3efe73d.zip
x86: cleanup mpparse.c
Remove unused and pointless bits from mpparse.c (and other files where they are related to it). Of what remains, move whatever possible into .init.*, and some data items into .data.read_mostly. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/mach-generic')
-rw-r--r--xen/include/asm-x86/mach-generic/mach_apic.h3
-rw-r--r--xen/include/asm-x86/mach-generic/mach_mpparse.h11
2 files changed, 1 insertions, 13 deletions
diff --git a/xen/include/asm-x86/mach-generic/mach_apic.h b/xen/include/asm-x86/mach-generic/mach_apic.h
index 83783b3546..509d997a98 100644
--- a/xen/include/asm-x86/mach-generic/mach_apic.h
+++ b/xen/include/asm-x86/mach-generic/mach_apic.h
@@ -28,8 +28,7 @@ static inline void enable_apic_mode(void)
extern u32 bios_cpu_apicid[];
-static inline int mpc_apic_id(struct mpc_config_processor *m, u32 apicid,
- struct mpc_config_translation *translation_record)
+static inline int mpc_apic_id(struct mpc_config_processor *m, u32 apicid)
{
printk("Processor #%d %d:%d APIC version %d\n",
apicid,
diff --git a/xen/include/asm-x86/mach-generic/mach_mpparse.h b/xen/include/asm-x86/mach-generic/mach_mpparse.h
index f62c8dc146..92f0974027 100644
--- a/xen/include/asm-x86/mach-generic/mach_mpparse.h
+++ b/xen/include/asm-x86/mach-generic/mach_mpparse.h
@@ -1,17 +1,6 @@
#ifndef _MACH_MPPARSE_H
#define _MACH_MPPARSE_H 1
-static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
- struct mpc_config_translation *translation)
-{
- Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
-}
-
-static inline void mpc_oem_pci_bus(struct mpc_config_bus *m,
- struct mpc_config_translation *translation)
-{
-}
-
int mps_oem_check(struct mp_config_table *mpc, char *oem, char *productid);
int acpi_madt_oem_check(char *oem_id, char *oem_table_id);