diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:39 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:16:39 -0400 |
commit | c750a66b0ebfcd8f4cb353ab37b286c8cd93ad10 (patch) | |
tree | a97f03edb6b38ffa69160b6f9ae5291138b2b231 /arch/x86/mach-generic/default.c | |
parent | c2b84d8d1a66a0a886de51f1bfef5c4f16c0c784 (diff) |
i386: move mach-generic
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/default.c')
-rw-r--r-- | arch/x86/mach-generic/default.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/x86/mach-generic/default.c b/arch/x86/mach-generic/default.c new file mode 100644 index 000000000000..8685208d8512 --- /dev/null +++ b/arch/x86/mach-generic/default.c | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Default generic APIC driver. This handles upto 8 CPUs. | ||
3 | */ | ||
4 | #define APIC_DEFINITION 1 | ||
5 | #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. */ | ||
21 | static int probe_default(void) | ||
22 | { | ||
23 | return 1; | ||
24 | } | ||
25 | |||
26 | struct genapic apic_default = APIC_INIT("default", probe_default); | ||