linux-mips
[Top] [All Lists]

Re: [patch 3/3] MIPS: Octeon: Simplify irq_cpu_on/offline irq chip funct

To: Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [patch 3/3] MIPS: Octeon: Simplify irq_cpu_on/offline irq chip functions
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 28 Mar 2011 14:54:45 -0700
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <20110328150627.777498250@linutronix.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20110328150330.110780523@linutronix.de> <20110328150627.777498250@linutronix.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10
On 03/28/2011 08:06 AM, Thomas Gleixner wrote:
Make use of the IRQCHIP_ONOFFLINE_ENABLED flag and remove the
wrappers. Use irqd_irq_disabled() instead of desc->status, which will
go away.

Signed-off-by: Thomas Gleixner<tglx@linutronix.de>
Cc: David Daney<ddaney@caviumnetworks.com>

Tested by: David Daney<ddaney@caviumnetworks.com>

This seems good to me.



---
  arch/mips/cavium-octeon/octeon-irq.c |   71 
++++++++---------------------------
  1 file changed, 17 insertions(+), 54 deletions(-)

.
.
.

<Prev in Thread] Current Thread [Next in Thread>