Re: [M68KNOMMU]: create hw_irq.h

Greg Ungerer
2007-07-25T12:38:09Z

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@snapgear.com
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