diff options
author | Daniel J Blueman <daniel@numascale-asia.com> | 2011-12-05 16:20:36 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-12-05 17:17:07 +0100 |
commit | 9a0ebfbe3f1007008d198ccc6b86783cdb312fec (patch) | |
tree | 1c0010b61cffcd7c0989cf230ce404ebea1b5695 /arch/x86 | |
parent | 8e8da023f5af71662867729db5547dc54786093c (diff) | |
download | op-kernel-dev-9a0ebfbe3f1007008d198ccc6b86783cdb312fec.zip op-kernel-dev-9a0ebfbe3f1007008d198ccc6b86783cdb312fec.tar.gz |
x86: Make flat_init_apic_ldr() available
Allow flat_init_apic_ldr() to be used outside the compilation
unit for similar APIC implementations.
Signed-off-by: Daniel J Blueman <daniel@numascale-asia.com>
Cc: Steffen Persvold <sp@numascale.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Link: http://lkml.kernel.org/r/1323073238-32686-1-git-send-email-daniel@numascale-asia.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/apic_flat_64.h | 7 | ||||
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic_flat_64.h b/arch/x86/include/asm/apic_flat_64.h new file mode 100644 index 0000000..a2d3127 --- /dev/null +++ b/arch/x86/include/asm/apic_flat_64.h @@ -0,0 +1,7 @@ +#ifndef _ASM_X86_APIC_FLAT_64_H +#define _ASM_X86_APIC_FLAT_64_H + +extern void flat_init_apic_ldr(void); + +#endif + diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index f7a41e4..57c1f41 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c @@ -62,7 +62,7 @@ static void flat_vector_allocation_domain(int cpu, struct cpumask *retmask) * an APIC. See e.g. "AP-388 82489DX User's Manual" (Intel * document number 292116). So here it goes... */ -static void flat_init_apic_ldr(void) +void flat_init_apic_ldr(void) { unsigned long val; unsigned long num, id; |