Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100136
b: refs/heads/master
c: 6a64b5d
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jul 10, 2008
1 parent 953f1bc commit 0162be4
Show file tree
Hide file tree
Showing 2 changed files with 7 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: d8d1bc73f0ccb60f4d6056333b8fcb3140772c21
refs/heads/master: 6a64b5da9bbe561fd189361812f5ed205bb55345
6 changes: 6 additions & 0 deletions trunk/include/asm-x86/mach-default/smpboot_hooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

static inline void smpboot_clear_io_apic_irqs(void)
{
#ifdef CONFIG_X86_IO_APIC
io_apic_irqs = 0;
#endif
}

static inline void smpboot_setup_warm_reset_vector(unsigned long start_eip)
Expand Down Expand Up @@ -35,6 +37,7 @@ static inline void smpboot_restore_warm_reset_vector(void)

static inline void __init smpboot_setup_io_apic(void)
{
#ifdef CONFIG_X86_IO_APIC
/*
* Here we can be sure that there is an IO-APIC in the system. Let's
* go and set it up:
Expand All @@ -45,9 +48,12 @@ static inline void __init smpboot_setup_io_apic(void)
nr_ioapics = 0;
localise_nmi_watchdog();
}
#endif
}

static inline void smpboot_clear_io_apic(void)
{
#ifdef CONFIG_X86_IO_APIC
nr_ioapics = 0;
#endif
}

0 comments on commit 0162be4

Please sign in to comment.