aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/mach-generic/default.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/i386/mach-generic/default.c
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/i386/mach-generic/default.c')
-rw-r--r--arch/i386/mach-generic/default.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/i386/mach-generic/default.c b/arch/i386/mach-generic/default.c
new file mode 100644
index 000000000000..7da14e9a79c3
--- /dev/null
+++ b/arch/i386/mach-generic/default.c
@@ -0,0 +1,27 @@
1/*
2 * Default generic APIC driver. This handles upto 8 CPUs.
3 */
4#define APIC_DEFINITION 1
5#include <linux/config.h>
6#include <linux/threads.h>
7#include <linux/cpumask.h>
8#include <asm/mpspec.h>
9#include <asm/mach-default/mach_apicdef.h>
10#include <asm/genapic.h>
11#include <asm/fixmap.h>
12#include <asm/apicdef.h>
13#include <linux/kernel.h>
14#include <linux/string.h>
15#include <linux/smp.h>
16#include <linux/init.h>
17#include <asm/mach-default/mach_apic.h>
18#include <asm/mach-default/mach_ipi.h>
19#include <asm/mach-default/mach_mpparse.h>
20
21/* should be called last. */
22static __init int probe_default(void)
23{
24 return 1;
25}
26
27struct genapic apic_default = APIC_INIT("default", probe_default);