Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137005
b: refs/heads/master
c: 0917c01
h: refs/heads/master
i:
  137003: bbb7f54
v: v3
  • Loading branch information
Ingo Molnar committed Feb 26, 2009
1 parent 53f4e03 commit 4d65cc0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 129d8bc828e011bda0b7110a097bf3a0167f966e
refs/heads/master: 0917c01f8e793f57a53cf886533d4c75c67f6e89
17 changes: 17 additions & 0 deletions trunk/arch/x86/include/asm/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,27 @@ struct apic {
u32 (*safe_wait_icr_idle)(void);
};

/*
* Pointer to the local APIC driver in use on this system (there's
* always just one such driver in use - the kernel decides via an
* early probing process which one it picks - and then sticks to it):
*/
extern struct apic *apic;

/*
* APIC functionality to boot other CPUs - only used on SMP:
*/
#ifdef CONFIG_SMP
extern atomic_t init_deasserted;
extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip);
#else
static inline int
wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip)
{
return 0;
}
#endif

static inline u32 apic_read(u32 reg)
{
Expand Down

0 comments on commit 4d65cc0

Please sign in to comment.