mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: + ia64-irqs-use-name-not-typename.patch added to -mm tree
       [not found] <200611140744.kAE7iSdC024321@shell0.pdx.osdl.net>
@ 2006-11-14  8:21 ` Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2006-11-14  8:21 UTC (permalink / raw)
  To: akpm; +Cc: mm-commits, ebiederm, tony.luck, yanmin_zhang


* akpm@osdl.org <akpm@osdl.org> wrote:

> ------------------------------------------------------
> Subject: ia64 irqs: use `name' not `typename'
> From: Andrew Morton <akpm@osdl.org>
> 
> `typename' is going away and is usually uninitialised anwyay.

yeah.

  Acked-by: Ingo Molnar <mingo@elte.hu>

we also need the patch below, to update the remaining ia64 old-style 
hw_interrupt_type structures to use .name:

------------->
Subject: ia64: typename -> name conversion
From: Ingo Molnar <mingo@elte.hu>

convert irq chip typename -> name.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
----
 arch/ia64/hp/sim/hpsim_irq.c  |    2 +-
 arch/ia64/kernel/iosapic.c    |    4 ++--
 arch/ia64/kernel/irq_lsapic.c |    2 +-
 arch/ia64/sn/kernel/irq.c     |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

Index: linux/arch/ia64/hp/sim/hpsim_irq.c
===================================================================
--- linux.orig/arch/ia64/hp/sim/hpsim_irq.c
+++ linux/arch/ia64/hp/sim/hpsim_irq.c
@@ -27,7 +27,7 @@ hpsim_set_affinity_noop (unsigned int a,
 }
 
 static struct hw_interrupt_type irq_type_hp_sim = {
-	.typename =	"hpsim",
+	.name =		"hpsim",
 	.startup =	hpsim_irq_startup,
 	.shutdown =	hpsim_irq_noop,
 	.enable =	hpsim_irq_noop,
Index: linux/arch/ia64/kernel/iosapic.c
===================================================================
--- linux.orig/arch/ia64/kernel/iosapic.c
+++ linux/arch/ia64/kernel/iosapic.c
@@ -456,7 +456,7 @@ iosapic_end_level_irq (unsigned int irq)
 #define iosapic_disable_level_irq	mask_irq
 
 struct hw_interrupt_type irq_type_iosapic_level = {
-	.typename =	"IO-SAPIC-level",
+	.name =		"IO-SAPIC-level",
 	.startup =	iosapic_startup_level_irq,
 	.shutdown =	iosapic_shutdown_level_irq,
 	.enable =	iosapic_enable_level_irq,
@@ -503,7 +503,7 @@ iosapic_ack_edge_irq (unsigned int irq)
 #define iosapic_end_edge_irq		nop
 
 struct hw_interrupt_type irq_type_iosapic_edge = {
-	.typename =	"IO-SAPIC-edge",
+	.name =		"IO-SAPIC-edge",
 	.startup =	iosapic_startup_edge_irq,
 	.shutdown =	iosapic_disable_edge_irq,
 	.enable =	iosapic_enable_edge_irq,
Index: linux/arch/ia64/kernel/irq_lsapic.c
===================================================================
--- linux.orig/arch/ia64/kernel/irq_lsapic.c
+++ linux/arch/ia64/kernel/irq_lsapic.c
@@ -34,7 +34,7 @@ static int lsapic_retrigger(unsigned int
 }
 
 struct hw_interrupt_type irq_type_ia64_lsapic = {
-	.typename =	"LSAPIC",
+	.name =		"LSAPIC",
 	.startup =	lsapic_noop_startup,
 	.shutdown =	lsapic_noop,
 	.enable =	lsapic_noop,
Index: linux/arch/ia64/sn/kernel/irq.c
===================================================================
--- linux.orig/arch/ia64/sn/kernel/irq.c
+++ linux/arch/ia64/sn/kernel/irq.c
@@ -201,7 +201,7 @@ static void sn_set_affinity_irq(unsigned
 }
 
 struct hw_interrupt_type irq_type_sn = {
-	.typename	= "SN hub",
+	.name		= "SN hub",
 	.startup	= sn_startup_irq,
 	.shutdown	= sn_shutdown_irq,
 	.enable		= sn_enable_irq,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-14  8:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200611140744.kAE7iSdC024321@shell0.pdx.osdl.net>
2006-11-14  8:21 ` + ia64-irqs-use-name-not-typename.patch added to -mm tree Ingo Molnar

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

Powered by JetHome