blob: 9e835a11a13a7cba9c16f2de4e5db0e54d9ecbc5 [file] [log] [blame]
Paolo Ciarrocchi651bbe12008-02-20 00:02:58 +01001/*
Simon Arlott27b46d72007-10-20 01:13:56 +02002 * Default generic APIC driver. This handles up to 8 CPUs.
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 */
4#define APIC_DEFINITION 1
Linus Torvalds1da177e2005-04-16 15:20:36 -07005#include <linux/threads.h>
6#include <linux/cpumask.h>
7#include <asm/mpspec.h>
8#include <asm/mach-default/mach_apicdef.h>
9#include <asm/genapic.h>
10#include <asm/fixmap.h>
11#include <asm/apicdef.h>
12#include <linux/kernel.h>
13#include <linux/string.h>
14#include <linux/smp.h>
15#include <linux/init.h>
16#include <asm/mach-default/mach_apic.h>
17#include <asm/mach-default/mach_ipi.h>
18#include <asm/mach-default/mach_mpparse.h>
19
20/* should be called last. */
Vivek Goyale96763d2007-01-11 01:52:44 +010021static int probe_default(void)
Paolo Ciarrocchi651bbe12008-02-20 00:02:58 +010022{
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 return 1;
Paolo Ciarrocchi651bbe12008-02-20 00:02:58 +010024}
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
Paolo Ciarrocchi651bbe12008-02-20 00:02:58 +010026struct genapic apic_default = APIC_INIT("default", probe_default);