[patch] 2.4.22-pre10: fix circular dependency

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sun Aug 03 2003 - 08:16:30 EST


On Fri, Aug 01, 2003 at 01:19:11PM -0300, Marcelo Tosatti wrote:
>...
> Summary of changes from v2.4.22-pre9 to v2.4.22-pre10
> ============================================
>...
> Marc-Christian Petersen:
>...
> o Fix irq handling of IO-APIC edge IRQs on UP
>...

This patch adds for no good reason two #include's to
include/asm-i386/hw_irq.h resulting in a circular dependency between
headers.

The patch below removes these #include's again.

I've tested the compilation with 2.4.22-pre10.

cu
Adrian

--- linux-2.4.22-pre10-full/include/asm-i386/hw_irq.h.old 2003-08-03 01:34:22.000000000 +0200
+++ linux-2.4.22-pre10-full/include/asm-i386/hw_irq.h 2003-08-03 01:34:57.000000000 +0200
@@ -13,10 +13,8 @@
  */
 
 #include <linux/config.h>
-#include <linux/smp_lock.h>
 #include <asm/atomic.h>
 #include <asm/irq.h>
-#include <asm/current.h>
 
 /*
  * IDT vectors usable for external interrupt sources start
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:21 EST