Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Default generic APIC driver. This handles upto 8 CPUs. |
| 3 | */ |
| 4 | #define APIC_DEFINITION 1 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. */ |
Vivek Goyal | e96763d | 2007-01-11 01:52:44 +0100 | [diff] [blame] | 21 | static int probe_default(void) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | { |
| 23 | return 1; |
| 24 | } |
| 25 | |
| 26 | struct genapic apic_default = APIC_INIT("default", probe_default); |