summaryrefslogtreecommitdiffstats
path: root/include
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
parentfa0c864d998c9c97d11db097d5736028d5c80985 (diff)
downloadop-kernel-dev-c7e844f0415252c7e1a2153a97e7a0c511d61ada.zip
op-kernel-dev-c7e844f0415252c7e1a2153a97e7a0c511d61ada.tar.gz
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')
-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 17e183b..3b637fa 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();
OpenPOWER on IntegriCloud