Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Daniel J Blueman and committed by
Ingo Molnar
9a0ebfbe 8e8da023

+8 -1
+7
arch/x86/include/asm/apic_flat_64.h
··· 1 + #ifndef _ASM_X86_APIC_FLAT_64_H 2 + #define _ASM_X86_APIC_FLAT_64_H 3 + 4 + extern void flat_init_apic_ldr(void); 5 + 6 + #endif 7 +
+1 -1
arch/x86/kernel/apic/apic_flat_64.c
··· 62 62 * an APIC. See e.g. "AP-388 82489DX User's Manual" (Intel 63 63 * document number 292116). So here it goes... 64 64 */ 65 - static void flat_init_apic_ldr(void) 65 + void flat_init_apic_ldr(void) 66 66 { 67 67 unsigned long val; 68 68 unsigned long num, id;