default.c 695 字节
Newer Older
1
/*
S
Simon Arlott 已提交
2
 * Default generic APIC driver. This handles up to 8 CPUs.
L
Linus Torvalds 已提交
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
 */
#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>
19
#include <asm/mach-default/mach_wakecpu.h>
L
Linus Torvalds 已提交
20 21

/* should be called last. */
22
static int probe_default(void)
23
{
L
Linus Torvalds 已提交
24
	return 1;
25
}
L
Linus Torvalds 已提交
26

27
struct genapic apic_default = APIC_INIT("default", probe_default);