All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: David Howells <dhowells@redhat.com>
Subject: [patch 4/7] mn10300: Convert serial irq_chip to new functions
Date: Sun, 06 Feb 2011 21:45:49 -0000	[thread overview]
Message-ID: <20110206214534.762044156@linutronix.de> (raw)
In-Reply-To: 20110206214441.438777646@linutronix.de

[-- Attachment #1: mn10300-convert-serial-irq-chip.patch --]
[-- Type: text/plain, Size: 1109 bytes --]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/mn10300/kernel/mn10300-serial.c |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Index: linux-next/arch/mn10300/kernel/mn10300-serial.c
===================================================================
--- linux-next.orig/arch/mn10300/kernel/mn10300-serial.c
+++ linux-next/arch/mn10300/kernel/mn10300-serial.c
@@ -384,16 +384,21 @@ static void mn10300_serial_mask_ack(unsi
 	arch_local_irq_restore(flags);
 }
 
-static void mn10300_serial_nop(unsigned int irq)
+static void mn10300_serial_chip_mask_ack(struct irq_data *d)
+{
+	mn10300_serial_mask_ack(d->irq);
+}
+
+static void mn10300_serial_nop(struct irq_data *d
 {
 }
 
 static struct irq_chip mn10300_serial_pic = {
 	.name		= "mnserial",
-	.ack		= mn10300_serial_mask_ack,
-	.mask		= mn10300_serial_mask_ack,
-	.mask_ack	= mn10300_serial_mask_ack,
-	.unmask		= mn10300_serial_nop,
+	.irq_ack	= mn10300_serial_chip_mask_ack,
+	.irq_mask	= mn10300_serial_chip_mask_ack,
+	.irq_mask_ack	= mn10300_serial_chip_mask_ack,
+	.irq_unmask	= mn10300_serial_nop,
 };
 
 



  parent reply	other threads:[~2011-02-06 21:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-06 21:45 [patch 0/7] mn10300: Convert to new irq_chip functions Thomas Gleixner
2011-02-06 21:45 ` [patch 1/7] mn10300: Remove stale irq_chip.end - V2 Thomas Gleixner
2011-02-06 21:45 ` [patch 2/7] mn10300: Remove unused mn10300_intc_* functions Thomas Gleixner
2011-02-06 21:45 ` [patch 3/7] mn10300: Convert cpu irq_chips to new functions Thomas Gleixner
2011-02-06 21:45 ` Thomas Gleixner [this message]
2011-02-06 21:45 ` [patch 5/7] mn10300: Convert ipi irq_chip " Thomas Gleixner
2011-02-06 21:45 ` [patch 6/7] mn103000: asb2364: Convert FPGA " Thomas Gleixner
2011-02-06 21:45 ` [patch 7/7] mn10300: Select GENERIC_HARDIRQS_NO_DEPRECATED Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110206214534.762044156@linutronix.de \
    --to=tglx@linutronix.de \
    --cc=dhowells@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.