public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Compile problems on ia64 with 2.6.17-rc5-mm1
@ 2006-05-30 17:16 Mel Gorman
  2006-05-30 17:17 ` [PATCH 1/2] 2.6.17-rc5-mm1 compile-fix on ia64 for TRACE_IRQFLAGS Mel Gorman
  2006-05-30 17:17 ` [PATCH 2/2] 2.6.17-rc5-mm1 compile-fix on ia64 for desc->handler Mel Gorman
  0 siblings, 2 replies; 3+ messages in thread
From: Mel Gorman @ 2006-05-30 17:16 UTC (permalink / raw)
  To: akpm; +Cc: Mel Gorman, mingo, arjan, linux-kernel, tglx

2.6.17-rc5-mm1 had some minor compile problems on IA64. The following two
patches should address them.
-- 
-- 
Mel Gorman
Part-time Phd Student                          Linux Technology Center
University of Limerick                         IBM Dublin Software Lab

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

* [PATCH 1/2] 2.6.17-rc5-mm1 compile-fix on ia64 for TRACE_IRQFLAGS
  2006-05-30 17:16 [PATCH 0/2] Compile problems on ia64 with 2.6.17-rc5-mm1 Mel Gorman
@ 2006-05-30 17:17 ` Mel Gorman
  2006-05-30 17:17 ` [PATCH 2/2] 2.6.17-rc5-mm1 compile-fix on ia64 for desc->handler Mel Gorman
  1 sibling, 0 replies; 3+ messages in thread
From: Mel Gorman @ 2006-05-30 17:17 UTC (permalink / raw)
  To: akpm; +Cc: Mel Gorman, mingo, arjan, linux-kernel, tglx


The patches lock-validator-irqtrace-* intoduce a file
include/linux/trace_irqflags.h that includes asm/irqflags.h unconditionally.
Not all arches have this flag and ia64 is one of them so it fails to compile.
The following patch conditionally includes asm/irqflags if
CONFIG_TRACE_IRQFLAGS is set.


 trace_irqflags.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.17-rc5-mm1-clean/include/linux/trace_irqflags.h linux-2.6.17-rc5-mm1-irqflags/include/linux/trace_irqflags.h
--- linux-2.6.17-rc5-mm1-clean/include/linux/trace_irqflags.h	2006-05-30 14:41:22.000000000 +0100
+++ linux-2.6.17-rc5-mm1-irqflags/include/linux/trace_irqflags.h	2006-05-30 16:00:23.000000000 +0100
@@ -11,13 +11,13 @@
 #ifndef _LINUX_TRACE_IRQFLAGS_H
 #define _LINUX_TRACE_IRQFLAGS_H
 
-#include <asm/irqflags.h>
-
 /*
  * The local_irq_*() APIs are equal to the raw_local_irq*()
  * if !TRACE_IRQFLAGS.
  */
 #ifdef CONFIG_TRACE_IRQFLAGS
+#include <asm/irqflags.h>
+
   extern void trace_hardirqs_on(void);
   extern void trace_hardirqs_off(void);
   extern void trace_softirqs_on(unsigned long ip);

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

* [PATCH 2/2] 2.6.17-rc5-mm1 compile-fix on ia64 for desc->handler
  2006-05-30 17:16 [PATCH 0/2] Compile problems on ia64 with 2.6.17-rc5-mm1 Mel Gorman
  2006-05-30 17:17 ` [PATCH 1/2] 2.6.17-rc5-mm1 compile-fix on ia64 for TRACE_IRQFLAGS Mel Gorman
@ 2006-05-30 17:17 ` Mel Gorman
  1 sibling, 0 replies; 3+ messages in thread
From: Mel Gorman @ 2006-05-30 17:17 UTC (permalink / raw)
  To: akpm; +Cc: Mel Gorman, mingo, arjan, linux-kernel, tglx


genirq-rename-desc-handler-to-desc-chip.patch renames a number of IRQ
desc->handler to desk->chip. This patch renames one that was missed.



 hpsim_irq.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
diff -rup -X /usr/src/patchset-0.6/bin//dontdiff linux-2.6.17-rc5-mm1-irqflags/arch/ia64/hp/sim/hpsim_irq.c linux-2.6.17-rc5-mm1-hpsim_irq/arch/ia64/hp/sim/hpsim_irq.c
--- linux-2.6.17-rc5-mm1-irqflags/arch/ia64/hp/sim/hpsim_irq.c	2006-05-30 14:41:20.000000000 +0100
+++ linux-2.6.17-rc5-mm1-hpsim_irq/arch/ia64/hp/sim/hpsim_irq.c	2006-05-30 16:25:31.000000000 +0100
@@ -45,7 +45,7 @@ hpsim_irq_init (void)
 
 	for (i = 0; i < NR_IRQS; ++i) {
 		idesc = irq_desc + i;
-		if (idesc->handler == &no_irq_type)
-			idesc->handler = &irq_type_hp_sim;
+		if (idesc->chip == &no_irq_type)
+			idesc->chip = &irq_type_hp_sim;
 	}
 }

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

end of thread, other threads:[~2006-05-30 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 17:16 [PATCH 0/2] Compile problems on ia64 with 2.6.17-rc5-mm1 Mel Gorman
2006-05-30 17:17 ` [PATCH 1/2] 2.6.17-rc5-mm1 compile-fix on ia64 for TRACE_IRQFLAGS Mel Gorman
2006-05-30 17:17 ` [PATCH 2/2] 2.6.17-rc5-mm1 compile-fix on ia64 for desc->handler Mel Gorman

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