summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-numaq
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-02-04 16:48:03 +0100
committerIngo Molnar <mingo@elte.hu>2008-02-04 16:48:03 +0100
commitc7e844f0415252c7e1a2153a97e7a0c511d61ada (patch)
tree7d8a503b4112ba50a35b2d731b86803935507756 /include/asm-x86/mach-numaq
parentx86: cleanup - eliminate numbers in LDT allocation code (diff)
downloadlinux-c7e844f0415252c7e1a2153a97e7a0c511d61ada.tar.xz
linux-c7e844f0415252c7e1a2153a97e7a0c511d61ada.zip
x86: move NUMAQ io handling into arch/x86/pci/numa.c
numa.c is the only user of the {in,out}*_quad functions. And it has only a few call sites. Change them to open code the magic NUMAQ port access. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/mach-numaq')
-rw-r--r--include/asm-x86/mach-numaq/mach_apic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/mach-numaq/mach_apic.h b/include/asm-x86/mach-numaq/mach_apic.h
index 17e183bd39c1..3b637fac890b 100644
--- a/include/asm-x86/mach-numaq/mach_apic.h
+++ b/include/asm-x86/mach-numaq/mach_apic.h
@@ -109,6 +109,8 @@ static inline int mpc_apic_id(struct mpc_config_processor *m,
return logical_apicid;
}
+extern void *xquad_portio;
+
static inline void setup_portio_remap(void)
{
int num_quads = num_online_nodes();