Skip to content

Commit

Permalink
x86: Make flat_init_apic_ldr() available
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel J Blueman authored and Ingo Molnar committed Dec 5, 2011
1 parent 8e8da02 commit 9a0ebfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions arch/x86/include/asm/apic_flat_64.h
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion arch/x86/kernel/apic/apic_flat_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9a0ebfb

Please sign in to comment.