public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix up UP in 2.5-bkcurrent
@ 2002-12-31  8:38 Tomas Szepe
  2002-12-31 18:58 ` Linus Torvalds
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Szepe @ 2002-12-31  8:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: lkml

Linus,

The following bit is needed to build (and boot) current 2.5 bk on
UP.  The fix just favors a "we may have to do this" comment. <g>

-- 
Tomas Szepe <szepe@pinerecords.com>


diff -urN a/include/asm-i386/hw_irq.h b/include/asm-i386/hw_irq.h
--- a/include/asm-i386/hw_irq.h	2002-12-31 09:33:21.000000000 +0100
+++ b/include/asm-i386/hw_irq.h	2002-12-31 09:26:18.000000000 +0100
@@ -131,8 +131,9 @@
 
 #endif /* CONFIG_PROFILING */
  
-#ifdef CONFIG_X86_IO_APIC /*more of this file should probably be ifdefed SMP */
-static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) {
+#if defined(CONFIG_X86_IO_APIC) && defined(CONFIG_SMP)
+static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i)
+{
 	if (IO_APIC_IRQ(i))
 		send_IPI_self(IO_APIC_VECTOR(i));
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-31 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-31  8:38 [PATCH] fix up UP in 2.5-bkcurrent Tomas Szepe
2002-12-31 18:58 ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox