29 Mar, 2011
40 commits
-
The irq chip has no irq_set_type() callback. So calling the call is
pointless. Set IRQ_LEVEL via the proper accessor.Signed-off-by: Thomas Gleixner
-
Use the proper accessors instead of open access to irq_desc.
Converted with coccinelle.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: Kyle McMartin
Cc: linux-parisc@vger.kernel.org -
1) As promised in the comment, the core does not copy cpumask anymore
when the arch code returns -EINVAL2) Get the per cpu information from irq_data
Signed-off-by: Thomas Gleixner
Cc: Kyle McMartin
Cc: linux-parisc@vger.kernel.org -
Signed-off-by: Thomas Gleixner
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
-
This really starts to be a sysiphean task.
Signed-off-by: Thomas Gleixner
-
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
Tested-by: David Daney -
This includes conversion to new style irq_chip functions, and
correctly enabling/disabling per-CPU interrupts.The hardware interrupt bit to irq number mapping is now done with a
flexible map, instead of by bit twiddling the irq number.[ tglx: Adjusted to new irq_cpu_on/offline callbacks and
__irq_set_affinity_lock ]Signed-off-by: David Daney
Cc: linux-mips@linux-mips.org
Cc: ralf@linux-mips.org
LKML-Reference:
Signed-off-by: Thomas Gleixner -
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Namespace conversion scripted with coccinelle.
Also retrieve the irq type from irq_data in intc_enable_or_unmask()
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner
-
Signed-off-by: Thomas Gleixner
-
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