aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-17 15:08:48 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:08 -0400
commit0ec153af4dec8944e6da558093914a3bce4c76f9 (patch)
tree374a5287217a709e01ff1dd2697f844d955bb2da /include
parentd285e338899a4ff662a17b22d3bb0e48bb1465d4 (diff)
x86: remove mpc_oem_bus_info()
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/genapic_32.h4
-rw-r--r--include/asm-x86/mach-default/mach_mpparse.h6
-rw-r--r--include/asm-x86/mach-es7000/mach_mpparse.h6
-rw-r--r--include/asm-x86/mach-generic/mach_mpparse.h4
-rw-r--r--include/asm-x86/mach-numaq/mach_mpparse.h16
-rw-r--r--include/asm-x86/mach-summit/mach_mpparse.h6
6 files changed, 2 insertions, 40 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h
index 5a1ae0164aa0..5a1b68ac3ca9 100644
--- a/include/asm-x86/genapic_32.h
+++ b/include/asm-x86/genapic_32.h
@@ -48,9 +48,6 @@ struct genapic {
48 u32 (*phys_pkg_id)(u32 cpuid_apic, int index_msb); 48 u32 (*phys_pkg_id)(u32 cpuid_apic, int index_msb);
49 49
50 /* mpparse */ 50 /* mpparse */
51 void (*mpc_oem_bus_info)(struct mpc_config_bus *, char *,
52 struct mpc_config_translation *);
53
54 /* When one of the next two hooks returns 1 the genapic 51 /* When one of the next two hooks returns 1 the genapic
55 is switched to this. Essentially they are additional probe 52 is switched to this. Essentially they are additional probe
56 functions. */ 53 functions. */
@@ -103,7 +100,6 @@ struct genapic {
103 APICFUNC(apicid_to_cpu_present) \ 100 APICFUNC(apicid_to_cpu_present) \
104 APICFUNC(setup_portio_remap) \ 101 APICFUNC(setup_portio_remap) \
105 APICFUNC(check_phys_apicid_present) \ 102 APICFUNC(check_phys_apicid_present) \
106 APICFUNC(mpc_oem_bus_info) \
107 APICFUNC(mps_oem_check) \ 103 APICFUNC(mps_oem_check) \
108 APICFUNC(get_apic_id) \ 104 APICFUNC(get_apic_id) \
109 .apic_id_mask = APIC_ID_MASK, \ 105 .apic_id_mask = APIC_ID_MASK, \
diff --git a/include/asm-x86/mach-default/mach_mpparse.h b/include/asm-x86/mach-default/mach_mpparse.h
index 679393c26dc6..d14108505bb8 100644
--- a/include/asm-x86/mach-default/mach_mpparse.h
+++ b/include/asm-x86/mach-default/mach_mpparse.h
@@ -1,12 +1,6 @@
1#ifndef __ASM_MACH_MPPARSE_H 1#ifndef __ASM_MACH_MPPARSE_H
2#define __ASM_MACH_MPPARSE_H 2#define __ASM_MACH_MPPARSE_H
3 3
4static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
5 struct mpc_config_translation *translation)
6{
7// Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
8}
9
10static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, 4static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
11 char *productid) 5 char *productid)
12{ 6{
diff --git a/include/asm-x86/mach-es7000/mach_mpparse.h b/include/asm-x86/mach-es7000/mach_mpparse.h
index 3afa1b010818..ef26d3523625 100644
--- a/include/asm-x86/mach-es7000/mach_mpparse.h
+++ b/include/asm-x86/mach-es7000/mach_mpparse.h
@@ -3,12 +3,6 @@
3 3
4#include <linux/acpi.h> 4#include <linux/acpi.h>
5 5
6static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
7 struct mpc_config_translation *translation)
8{
9 Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
10}
11
12extern int parse_unisys_oem (char *oemptr); 6extern int parse_unisys_oem (char *oemptr);
13extern int find_unisys_acpi_oem_table(unsigned long *oem_addr); 7extern int find_unisys_acpi_oem_table(unsigned long *oem_addr);
14extern void setup_unisys(void); 8extern void setup_unisys(void);
diff --git a/include/asm-x86/mach-generic/mach_mpparse.h b/include/asm-x86/mach-generic/mach_mpparse.h
index 2a6937150334..0d0b5ba2e9d1 100644
--- a/include/asm-x86/mach-generic/mach_mpparse.h
+++ b/include/asm-x86/mach-generic/mach_mpparse.h
@@ -1,10 +1,6 @@
1#ifndef _MACH_MPPARSE_H 1#ifndef _MACH_MPPARSE_H
2#define _MACH_MPPARSE_H 1 2#define _MACH_MPPARSE_H 1
3 3
4#include <asm/genapic.h>
5
6#define mpc_oem_bus_info (genapic->mpc_oem_bus_info)
7
8int mps_oem_check(struct mp_config_table *mpc, char *oem, char *productid); 4int mps_oem_check(struct mp_config_table *mpc, char *oem, char *productid);
9int acpi_madt_oem_check(char *oem_id, char *oem_table_id); 5int acpi_madt_oem_check(char *oem_id, char *oem_table_id);
10 6
diff --git a/include/asm-x86/mach-numaq/mach_mpparse.h b/include/asm-x86/mach-numaq/mach_mpparse.h
index 4a5d8a8b01a2..459b12401187 100644
--- a/include/asm-x86/mach-numaq/mach_mpparse.h
+++ b/include/asm-x86/mach-numaq/mach_mpparse.h
@@ -1,20 +1,8 @@
1#ifndef __ASM_MACH_MPPARSE_H 1#ifndef __ASM_MACH_MPPARSE_H
2#define __ASM_MACH_MPPARSE_H 2#define __ASM_MACH_MPPARSE_H
3 3
4extern int mp_bus_id_to_local[MAX_MP_BUSSES]; 4extern void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
5extern int mp_bus_id_to_node[MAX_MP_BUSSES]; 5 struct mpc_config_translation *translation);
6
7static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
8 struct mpc_config_translation *translation)
9{
10 int quad = translation->trans_quad;
11 int local = translation->trans_local;
12
13 mp_bus_id_to_node[m->mpc_busid] = quad;
14 mp_bus_id_to_local[m->mpc_busid] = local;
15 printk("Bus #%d is %s (node %d)\n", m->mpc_busid, name, quad);
16}
17
18extern void mpc_oem_pci_bus(struct mpc_config_bus *m, 6extern void mpc_oem_pci_bus(struct mpc_config_bus *m,
19 struct mpc_config_translation *translation); 7 struct mpc_config_translation *translation);
20 8
diff --git a/include/asm-x86/mach-summit/mach_mpparse.h b/include/asm-x86/mach-summit/mach_mpparse.h
index e1af489a8809..fdf591701339 100644
--- a/include/asm-x86/mach-summit/mach_mpparse.h
+++ b/include/asm-x86/mach-summit/mach_mpparse.h
@@ -12,12 +12,6 @@ extern void setup_summit(void);
12#define setup_summit() {} 12#define setup_summit() {}
13#endif 13#endif
14 14
15static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name,
16 struct mpc_config_translation *translation)
17{
18 Dprintk("Bus #%d is %s\n", m->mpc_busid, name);
19}
20
21static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, 15static inline int mps_oem_check(struct mp_config_table *mpc, char *oem,
22 char *productid) 16 char *productid)
23{ 17{