2008-02-19 18:02:58 -05:00
|
|
|
/*
|
2007-10-19 19:13:56 -04:00
|
|
|
* Default generic APIC driver. This handles up to 8 CPUs.
|
2005-04-16 18:20:36 -04:00
|
|
|
*/
|
|
|
|
#define APIC_DEFINITION 1
|
|
|
|
#include <linux/threads.h>
|
|
|
|
#include <linux/cpumask.h>
|
|
|
|
#include <asm/mpspec.h>
|
|
|
|
#include <asm/mach-default/mach_apicdef.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-default/mach_apic.h>
|
|
|
|
#include <asm/mach-default/mach_ipi.h>
|
|
|
|
#include <asm/mach-default/mach_mpparse.h>
|
|
|
|
|
|
|
|
/* should be called last. */
|
2007-01-10 19:52:44 -05:00
|
|
|
static int probe_default(void)
|
2008-02-19 18:02:58 -05:00
|
|
|
{
|
2005-04-16 18:20:36 -04:00
|
|
|
return 1;
|
2008-02-19 18:02:58 -05:00
|
|
|
}
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2008-02-19 18:02:58 -05:00
|
|
|
struct genapic apic_default = APIC_INIT("default", probe_default);
|