From: Felipe Balbi <hidden> Date: 2011-01-04 09:39:25
Instead of accessing the irq_desc array directly
we can use irq_to_desc(irq). That will allow us to,
if wanted, select SPARSE_IRQ and irq_descs will be
added to a radix tree, instead of a array.
Signed-off-by: Felipe Balbi <redacted>
---
arch/arm/plat-omap/gpio.c | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
From: Felipe Balbi <hidden> Date: 2011-01-04 09:39:26
select HAVE_SPARSE_IRQ and irq_descs can be added
to a radix tree instead of an array.
Signed-off-by: Felipe Balbi <redacted>
---
arch/arm/Kconfig | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
From: Russell King - ARM Linux <hidden> Date: 2011-01-04 09:54:10
On Tue, Jan 04, 2011 at 11:39:26AM +0200, Felipe Balbi wrote:
select HAVE_SPARSE_IRQ and irq_descs can be added
to a radix tree instead of an array.
Please move HAVE_GENERIC_HARDIRQS to the config ARM entry, and remove
these:
config GENERIC_HARDIRQS
bool
default y
config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y
as they're in kernel/irq/Kconfig, and are visible if HAVE_GENERIC_HARDIRQS
is enabled.
From: Russell King - ARM Linux <hidden> Date: 2011-01-04 09:55:19
On Tue, Jan 04, 2011 at 09:54:10AM +0000, Russell King - ARM Linux wrote:
On Tue, Jan 04, 2011 at 11:39:26AM +0200, Felipe Balbi wrote:
quoted
select HAVE_SPARSE_IRQ and irq_descs can be added
to a radix tree instead of an array.
Please move HAVE_GENERIC_HARDIRQS to the config ARM entry, and remove
these:
config GENERIC_HARDIRQS
bool
default y
config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y
as they're in kernel/irq/Kconfig, and are visible if HAVE_GENERIC_HARDIRQS
is enabled.
Note also that should be a separate patch from adding HAVE_SPARSE_IRQ to
OMAP, as it's an independent but necessary change.
From: Felipe Balbi <hidden> Date: 2011-01-04 10:34:32
Hi,
On Tue, Jan 04, 2011 at 09:54:10AM +0000, Russell King - ARM Linux wrote:
On Tue, Jan 04, 2011 at 11:39:26AM +0200, Felipe Balbi wrote:
quoted
select HAVE_SPARSE_IRQ and irq_descs can be added
to a radix tree instead of an array.
Please move HAVE_GENERIC_HARDIRQS to the config ARM entry, and remove
these:
config GENERIC_HARDIRQS
bool
default y
config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y
as they're in kernel/irq/Kconfig, and are visible if HAVE_GENERIC_HARDIRQS
is enabled.
From: Russell King - ARM Linux <hidden> Date: 2011-01-04 11:42:07
On Tue, Jan 04, 2011 at 12:34:32PM +0200, Felipe Balbi wrote:
do you mean:
Yes, but without the breakage caused by your mailer - posting patches
with flowed formatting is a recipe for this kind of disaster:
Content-Type: text/plain; charset=us-ascii; format=flowed
You appear to be using mutt, so set:
set text_flowed=no
in your .muttrc to avoid this corruption.
From: Felipe Balbi <hidden> Date: 2011-01-04 11:52:08
Hi,
On Tue, Jan 04, 2011 at 11:42:07AM +0000, Russell King - ARM Linux wrote:
On Tue, Jan 04, 2011 at 12:34:32PM +0200, Felipe Balbi wrote:
quoted
do you mean:
Yes, but without the breakage caused by your mailer - posting patches
good, I'll re-send the series in a bit.
with flowed formatting is a recipe for this kind of disaster:
Content-Type: text/plain; charset=us-ascii; format=flowed
You appear to be using mutt, so set:
set text_flowed=no
in your .muttrc to avoid this corruption.