* [M68KNOMMU]: create hw_irq.h
@ 2007-07-25 12:07 Greg Ungerer
2007-07-25 12:17 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Greg Ungerer @ 2007-07-25 12:07 UTC (permalink / raw)
To: torvalds; +Cc: gerg, linux-kernel
Need an include/asm-m68knommu/hw_irq.h for kernel/hrtimer.c
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
diff -Naur linux-2.6.22/include/asm-m68knommu/hw_irq.h linux-2.6.22-uc0/include/asm-m68knommu/hw_irq.h
--- linux-2.6.22/include/asm-m68knommu/hw_irq.h 1970-01-01 10:00:00.000000000 +1000
+++ linux-2.6.22-uc0/include/asm-m68knommu/hw_irq.h 2007-07-12 15:23:59.000000000 +1000
@@ -0,0 +1,4 @@
+#ifndef __M68KNOMMU_HW_IRQ_H__
+#define __M68KNOMMU_HW_IRQ_H__
+
+#endif /* __M68KNOMMU_HW_IRQ_H__ */
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [M68KNOMMU]: create hw_irq.h
2007-07-25 12:07 [M68KNOMMU]: create hw_irq.h Greg Ungerer
@ 2007-07-25 12:17 ` Christoph Hellwig
2007-07-25 12:37 ` Greg Ungerer
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2007-07-25 12:17 UTC (permalink / raw)
To: Greg Ungerer; +Cc: torvalds, gerg, linux-kernel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [M68KNOMMU]: create hw_irq.h
2007-07-25 12:17 ` Christoph Hellwig
@ 2007-07-25 12:37 ` Greg Ungerer
2007-07-25 13:17 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Greg Ungerer @ 2007-07-25 12:37 UTC (permalink / raw)
To: Christoph Hellwig, torvalds, linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [M68KNOMMU]: create hw_irq.h
2007-07-25 12:37 ` Greg Ungerer
@ 2007-07-25 13:17 ` Christoph Hellwig
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2007-07-25 13:17 UTC (permalink / raw)
To: Greg Ungerer; +Cc: Christoph Hellwig, torvalds, linux-kernel
On Wed, Jul 25, 2007 at 10:37:41PM +1000, Greg Ungerer wrote:
> 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)
sorry. m68knommu uses genirq now and it'll have to provide hw_irq.h.
Generic code just shouldn't include it direclty.
Objection to the patch taken back.
(And yes, long-term we need to fix up the mess of irq-related headers,
and Al announced he's gonna start that once 2.6.23 is out)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-07-25 13:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 12:07 [M68KNOMMU]: create hw_irq.h Greg Ungerer
2007-07-25 12:17 ` Christoph Hellwig
2007-07-25 12:37 ` Greg Ungerer
2007-07-25 13:17 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox