874c4fe389
There are some machines around (large xSeries or Unisys ES7000) that need physical IO-APIC destination mode to access all of their IO devices. This currently doesn't work in UP kernels as used in distribution installers. This patch allows to compile even UP kernels as GENERICARCH which allows to use physical or clustered APIC mode. Signed-off-by: Andi Kleen <ak@suse.de>
29 lines
714 B
C
29 lines
714 B
C
/*
|
|
* APIC driver for the Unisys ES7000 chipset.
|
|
*/
|
|
#define APIC_DEFINITION 1
|
|
#include <linux/threads.h>
|
|
#include <linux/cpumask.h>
|
|
#include <asm/smp.h>
|
|
#include <asm/mpspec.h>
|
|
#include <asm/genapic.h>
|
|
#include <asm/fixmap.h>
|
|
#include <asm/apicdef.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/string.h>
|
|
#include <linux/smp.h>
|
|
#include <linux/init.h>
|
|
#include <asm/mach-es7000/mach_apicdef.h>
|
|
#include <asm/mach-es7000/mach_apic.h>
|
|
#include <asm/mach-es7000/mach_ipi.h>
|
|
#include <asm/mach-es7000/mach_mpparse.h>
|
|
#include <asm/mach-es7000/mach_wakecpu.h>
|
|
|
|
static __init int probe_es7000(void)
|
|
{
|
|
/* probed later in mptable/ACPI hooks */
|
|
return 0;
|
|
}
|
|
|
|
struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000);
|