Skip to content

Commit

Permalink
x86: build fix for "x86: fix C1E && nx6325 stability problem"
Browse files Browse the repository at this point in the history
fix:

 arch/x86/kernel/built-in.o: In function `dmi_ignore_irq0_timer_override':
 boot.c:(.init.text+0x3ea4): undefined reference to `force_mask_ioapic_irq_2'

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 10, 2008
1 parent ad2fc2c commit 4fb3dc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/asm-x86/genapic_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC};
#define is_uv_system() 0
#define uv_wakeup_secondary(a, b) 1

#ifdef CONFIG_X86_IO_APIC
extern void force_mask_ioapic_irq_2(void);
#else
static inline void force_mask_ioapic_irq_2(void) { }
#endif

#endif
4 changes: 4 additions & 0 deletions include/asm-x86/genapic_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ extern int uv_wakeup_secondary(int phys_apicid, unsigned int start_rip);

extern void setup_apic_routing(void);

#ifdef CONFIG_X86_IO_APIC
extern void force_mask_ioapic_irq_2(void);
#else
static inline void force_mask_ioapic_irq_2(void) { }
#endif

#endif

0 comments on commit 4fb3dc2

Please sign in to comment.