Re: [M68KNOMMU]: create hw_irq.h

From: Greg Ungerer
Date: Wed Jul 25 2007 - 08:38:10 EST


Christoph Hellwig wrote:
On Wed, Jul 25, 2007 at 10:07:20PM +1000, Greg Ungerer wrote:
Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c

hrtimer.c should be fixed not to include it instead.

Indirectly it is coming from include/linux/irq.h
(which means that compilation of a few kernel/irq/*.c files
fail on m68knommu without hw_irq.h existing too)

Can we just take out that include from there?

--- linux-2.6.23-rc1/include/linux/irq.h 2007-07-25 16:39:30.000000000 +1000
+++ linux/include/linux/irq.h 2007-07-25 22:36:28.000000000 +1000
@@ -186,11 +186,6 @@
#define no_irq_type no_irq_chip
typedef struct irq_desc irq_desc_t;

-/*
- * Pick up the arch-dependent methods:
- */
-#include <asm/hw_irq.h>
-
extern int setup_irq(unsigned int irq, struct irqaction *new);

#ifdef CONFIG_GENERIC_HARDIRQS


--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: gerg@xxxxxxxxxxxx
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/