summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)AuthorFilesLines
2011-03-29powerpc: Use proper accessors for IRQ_* flagsThomas Gleixner20-26/+24
Use the proper accessors instead of open access to irq_desc. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29parisc: Use irq_to_desc() in show_interrupts()Thomas Gleixner1-5/+6
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29parisc: Convert irq namespaceThomas Gleixner1-6/+6
Convert to the new function names. Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: linux-parisc@vger.kernel.org
2011-03-29parisc: Convert the final irq bitsThomas Gleixner1-7/+2
1) As promised in the comment, the core does not copy cpumask anymore when the arch code returns -EINVAL 2) Get the per cpu information from irq_data Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: linux-parisc@vger.kernel.org
2011-03-29mips: vr41xx: Use irdq_irq_disabled()Thomas Gleixner1-1/+1
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29MIPS: Convert the irq functions to the new namesThomas Gleixner59-167/+185
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29MIPS: alchemy: Use proper irq accessorsThomas Gleixner1-7/+6
This really starts to be a sysiphean task. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29MIPS: Octeon: Simplify irq_cpu_on/offline irq chip functionsThomas Gleixner1-54/+17
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> Tested-by: David Daney <ddaney@caviumnetworks.com>
2011-03-29MIPS: Octeon: Rewrite interrupt handling code.David Daney6-817/+921
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 <ddaney@caviumnetworks.com> Cc: linux-mips@linux-mips.org Cc: ralf@linux-mips.org LKML-Reference: <1301081931-11240-5-git-send-email-ddaney@caviumnetworks.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29MIPS: Fix syncfs syscall copy and paste failureThomas Gleixner1-1/+1
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29microblaze: Use generic show_interrupts()Thomas Gleixner2-42/+1
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29microblaze: Convert to new irq function namesThomas Gleixner2-4/+4
Namespace conversion scripted with coccinelle. Also retrieve the irq type from irq_data in intc_enable_or_unmask() Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Remove redundant declaration of irq_desc[]Thomas Gleixner1-3/+0
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert to the new irq_* function namesThomas Gleixner4-10/+10
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Use generic show_interrupts()Thomas Gleixner2-40/+3
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Use irqd_irq_disabled() instead of desc->status accessThomas Gleixner2-2/+2
Remove the last open coded access to irq_desc. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: sn: Use irqd_mark_affinity_set() helperThomas Gleixner1-3/+1
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 <tglx@linutronix.de>
2011-03-29ia64: msi: Use irq_move_irq()Thomas Gleixner1-1/+1
This replaces the old move_native_irq() function which is going away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: sn: Use irq_move_irq()Thomas Gleixner2-2/+2
This replaces the old move_native_irq() function which is going away. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: iosapic: Use new irq_move_* functionsThomas Gleixner1-6/+4
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 <tglx@linutronix.de>
2011-03-29ia64: iosapic: Remove redundant mask from ack()Thomas Gleixner1-9/+0
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 <tglx@linutronix.de>
2011-03-29ia64: Use accessor functions all over the placeThomas Gleixner4-12/+6
Use the proper accessor functions instead of open coded irq_desc access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: xen: Use irq accessor functionsThomas Gleixner1-3/+1
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: iosapic: Cleanup irq_desc accessThomas Gleixner1-17/+15
Use irq_to_desc() and use accessors for setting chip and handler. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: sn: Drop unused functionThomas Gleixner1-16/+0
Leftover from the irq chip conversion. Reported-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert iosapic to new irq_chip functionsThomas Gleixner1-32/+38
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert lsapic to new irq_chip functionsThomas Gleixner1-11/+11
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert msi to new irq_chip functionsThomas Gleixner1-19/+22
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert sn to new irq_chip functionsThomas Gleixner1-21/+23
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert msi_sn to new irq_chip functionsThomas Gleixner1-14/+14
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: hp-sim: Cleanup direct access to irq_descThomas Gleixner1-5/+5
Use accessor functions instead of open coded access. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert hp-sim to new irq_chip functionsThomas Gleixner1-10/+10
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Remove stale irq_chip.endThomas Gleixner4-27/+0
irq_chip.end got obsolete with the removal of __do_IRQ(). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Tony Luck <tony.luck@intel.com> LKML-Reference: <20110203004210.143127544@linutronix.de>
2011-03-29ia64: Cleanup migrate_irqs()Thomas Gleixner1-13/+14
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29ia64: Convert migrate_platform_irqs() to new irq chip functionsThomas Gleixner1-7/+7
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29bfin: Use proper accessors in traceThomas Gleixner1-3/+4
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29bfin: Convert irq namespaceThomas Gleixner2-18/+18
Convert to the new function names. Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: uclinux-dist-devel@blackfin.uclinux.org
2011-03-29bfin: Final irq cleanupThomas Gleixner2-9/+6
Use the trigger type in irq_data and check level type instead of looking at desc->handle_irq. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: uclinux-dist-devel@blackfin.uclinux.org
2011-03-29alpha: Use generic show_interrupts()Thomas Gleixner2-57/+11
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 <tglx@linutronix.de>
2011-03-29alpha: Convert to new irq function namesThomas Gleixner20-34/+38
Scripted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: Fold irq_set_chip/irq_set_handlerThomas Gleixner84-235/+209
Use irq_set_chip_and_handler() instead. Converted with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: Reorder irq_set_ function callsThomas Gleixner9-11/+11
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 <tglx@linutronix.de>
2011-03-29arm: Cleanup the irq namespaceThomas Gleixner140-610/+626
Convert to the new function names. Automated with coccinelle. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: Use generic show_interrupts()Thomas Gleixner2-50/+6
Use the generic version and just keep the arch specific output. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: dove: Use proper irq accessor functionsThomas Gleixner2-11/+2
Remove the obsolete desc_handle_irq() helper. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: gic: Use proper accessor functionsThomas Gleixner1-1/+1
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: at91: Cleanup irq chipThomas Gleixner1-22/+9
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 <tglx@linutronix.de>
2011-03-29arm: davinci: Cleanup irq chip codeThomas Gleixner1-13/+4
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 <tglx@linutronix.de>
2011-03-29arm: ep93xx: Use proper irq accessor functionsThomas Gleixner1-11/+10
No need to write the flow type. Core code does already. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2011-03-29arm: gemini: Use proper irq accessor functionsThomas Gleixner1-4/+2
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>