29 Mar, 2011
40 commits
-
Remove the last open coded access to irq_desc.
Signed-off-by: Thomas Gleixner
-
irq_desc->status is going to be restricted. Provide a helper to set
that information in irq_data, where it belongs.Signed-off-by: Thomas Gleixner
-
This replaces the old move_native_irq() function which is going away.
Signed-off-by: Thomas Gleixner
-
This replaces the old move_native_irq() function which is going away.
Signed-off-by: Thomas Gleixner
-
The current functions are going away.
Also use the accessor for pending setaffinity in irq_data instead of
the open coded irq_desc access.Signed-off-by: Thomas Gleixner
-
The core code calls mask_ack() which calls irq_ack() and irq_mask()
for the case where an interrupt is disabled and marked pending. That
seems to be a leftover from the old __do_IRQ() mode.Signed-off-by: Thomas Gleixner
-
Use the proper accessor functions instead of open coded irq_desc access.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Use irq_to_desc() and use accessors for setting chip and handler.
Signed-off-by: Thomas Gleixner
-
Leftover from the irq chip conversion.
Reported-by: Tony Luck
Signed-off-by: Thomas Gleixner -
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Use accessor functions instead of open coded access.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
irq_chip.end got obsolete with the removal of __do_IRQ().
Signed-off-by: Thomas Gleixner
Cc: Peter Zijlstra
Cc: Tony Luck
LKML-Reference: -
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Convert to the new function names. Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
Cc: Mike Frysinger
Cc: uclinux-dist-devel@blackfin.uclinux.org -
Use the trigger type in irq_data and check level type instead of
looking at desc->handle_irq.Signed-off-by: Thomas Gleixner
Cc: Mike Frysinger
Cc: uclinux-dist-devel@blackfin.uclinux.org -
The only subtle difference is that alpha uses ACTUAL_NR_IRQS and
prints the IRQF_DISABLED flag.Change the generic implementation to deal with ACTUAL_NR_IRQS if
defined.The IRQF_DISABLED printing is pointless, as we nowadays run all
interrupts with irqs disabled.Signed-off-by: Thomas Gleixner
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
-
Use irq_set_chip_and_handler() instead. Converted with coccinelle.
Signed-off-by: Thomas Gleixner
-
Reorder
irq_set_chip()
irq_set_chip_data()
irq_set_handler()to
irq_set_chip()
irq_set_handler()
irq_set_chip_data()so the next patch can combine irq_set_chip() and irq_set_handler() to
irq_set_chip_and_handler().Automated conversion with coccinelle.
Signed-off-by: Thomas Gleixner
-
Convert to the new function names. Automated with coccinelle.
Signed-off-by: Thomas Gleixner
-
Use the generic version and just keep the arch specific output.
Signed-off-by: Thomas Gleixner
-
Remove the obsolete desc_handle_irq() helper.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Avoid the whole lazy disable dance in the demux handler by providing a
irq_disable() callback.Use the proper accessor functions and tidy up gpio_irq_handler()
Signed-off-by: Thomas Gleixner
-
Make use of the new functionality which ensures that irq_set_type is
called with the chip masked. Unmask is only done when the interrupt is
not disabled.Retrieve the trigger type from irq_data in unmask
Signed-off-by: Thomas Gleixner
-
No need to write the flow type. Core code does already.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
1) Core code stores the flow type already
2) Flow type is accessible in irq_dataSigned-off-by: Thomas Gleixner
-
Store the enabled mask in the local state, so there is no need to
fiddle in the irq descriptor.Signed-off-by: Thomas Gleixner