Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2b35259 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

x86: UV, SGI RTC: add generic system vector, build fix on UP



Make ack_APIC_irq() build on !SMP && !APIC too.

Cc: Dimitri Sivanich <sivanich@sgi.com>
LKML-Reference: <20090304185605.GA24419@sgi.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 1400b3fa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -379,6 +379,7 @@ static inline u32 safe_apic_wait_icr_idle(void)

static inline void ack_APIC_irq(void)
{
#ifdef CONFIG_X86_LOCAL_APIC
	/*
	 * ack_APIC_irq() actually gets compiled as a single instruction
	 * ... yummie.
@@ -386,6 +387,7 @@ static inline void ack_APIC_irq(void)

	/* Docs say use 0 for future compatibility */
	apic_write(APIC_EOI, 0);
#endif
}

static inline unsigned default_get_apic_id(unsigned long x)