aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 07:24:54 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:27 -0500
commitcb8cc442dc7e07cb5438b357843ab4095ad73933 (patch)
treed818d1814507b2fe71f1e07c4bc108fe0c9ebb91 /arch/x86/mach-generic
parentd4c9a9f3d416cfa1f5ffbe09d864d069467fe693 (diff)
x86, apic: refactor ->phys_pkg_id()
Refactor the ->phys_pkg_id() methods: - namespace separation - macro wrapper removal - open-coded calls to the methods in the generic code Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic')
-rw-r--r--arch/x86/mach-generic/bigsmp.c2
-rw-r--r--arch/x86/mach-generic/default.c2
-rw-r--r--arch/x86/mach-generic/es7000.c2
-rw-r--r--arch/x86/mach-generic/numaq.c2
-rw-r--r--arch/x86/mach-generic/summit.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c
index e151b472456f..d04b38954df3 100644
--- a/arch/x86/mach-generic/bigsmp.c
+++ b/arch/x86/mach-generic/bigsmp.c
@@ -87,7 +87,7 @@ struct genapic apic_bigsmp = {
87 .setup_portio_remap = NULL, 87 .setup_portio_remap = NULL,
88 .check_phys_apicid_present = bigsmp_check_phys_apicid_present, 88 .check_phys_apicid_present = bigsmp_check_phys_apicid_present,
89 .enable_apic_mode = NULL, 89 .enable_apic_mode = NULL,
90 .phys_pkg_id = phys_pkg_id, 90 .phys_pkg_id = bigsmp_phys_pkg_id,
91 .mps_oem_check = mps_oem_check, 91 .mps_oem_check = mps_oem_check,
92 92
93 .get_apic_id = get_apic_id, 93 .get_apic_id = get_apic_id,
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c
index ac6be195b977..5c9266f756e0 100644
--- a/arch/x86/mach-generic/default.c
+++ b/arch/x86/mach-generic/default.c
@@ -68,7 +68,7 @@ struct genapic apic_default = {
68 .setup_portio_remap = NULL, 68 .setup_portio_remap = NULL,
69 .check_phys_apicid_present = default_check_phys_apicid_present, 69 .check_phys_apicid_present = default_check_phys_apicid_present,
70 .enable_apic_mode = NULL, 70 .enable_apic_mode = NULL,
71 .phys_pkg_id = phys_pkg_id, 71 .phys_pkg_id = default_phys_pkg_id,
72 .mps_oem_check = mps_oem_check, 72 .mps_oem_check = mps_oem_check,
73 73
74 .get_apic_id = get_apic_id, 74 .get_apic_id = get_apic_id,
diff --git a/arch/x86/mach-generic/es7000.c b/arch/x86/mach-generic/es7000.c
index 1185964b7a33..52787e34c9cc 100644
--- a/arch/x86/mach-generic/es7000.c
+++ b/arch/x86/mach-generic/es7000.c
@@ -122,7 +122,7 @@ struct genapic apic_es7000 = {
122 .setup_portio_remap = NULL, 122 .setup_portio_remap = NULL,
123 .check_phys_apicid_present = es7000_check_phys_apicid_present, 123 .check_phys_apicid_present = es7000_check_phys_apicid_present,
124 .enable_apic_mode = es7000_enable_apic_mode, 124 .enable_apic_mode = es7000_enable_apic_mode,
125 .phys_pkg_id = phys_pkg_id, 125 .phys_pkg_id = es7000_phys_pkg_id,
126 .mps_oem_check = mps_oem_check, 126 .mps_oem_check = mps_oem_check,
127 127
128 .get_apic_id = get_apic_id, 128 .get_apic_id = get_apic_id,
diff --git a/arch/x86/mach-generic/numaq.c b/arch/x86/mach-generic/numaq.c
index 8d3358de3fe7..6a1134e6d72d 100644
--- a/arch/x86/mach-generic/numaq.c
+++ b/arch/x86/mach-generic/numaq.c
@@ -87,7 +87,7 @@ struct genapic apic_numaq = {
87 .setup_portio_remap = numaq_setup_portio_remap, 87 .setup_portio_remap = numaq_setup_portio_remap,
88 .check_phys_apicid_present = numaq_check_phys_apicid_present, 88 .check_phys_apicid_present = numaq_check_phys_apicid_present,
89 .enable_apic_mode = NULL, 89 .enable_apic_mode = NULL,
90 .phys_pkg_id = phys_pkg_id, 90 .phys_pkg_id = numaq_phys_pkg_id,
91 .mps_oem_check = mps_oem_check, 91 .mps_oem_check = mps_oem_check,
92 92
93 .get_apic_id = get_apic_id, 93 .get_apic_id = get_apic_id,
diff --git a/arch/x86/mach-generic/summit.c b/arch/x86/mach-generic/summit.c
index cb83bcbb2dec..2d6843a61d97 100644
--- a/arch/x86/mach-generic/summit.c
+++ b/arch/x86/mach-generic/summit.c
@@ -67,7 +67,7 @@ struct genapic apic_summit = {
67 .setup_portio_remap = NULL, 67 .setup_portio_remap = NULL,
68 .check_phys_apicid_present = summit_check_phys_apicid_present, 68 .check_phys_apicid_present = summit_check_phys_apicid_present,
69 .enable_apic_mode = NULL, 69 .enable_apic_mode = NULL,
70 .phys_pkg_id = phys_pkg_id, 70 .phys_pkg_id = summit_phys_pkg_id,
71 .mps_oem_check = mps_oem_check, 71 .mps_oem_check = mps_oem_check,
72 72
73 .get_apic_id = get_apic_id, 73 .get_apic_id = get_apic_id,