Skip to content

Refine irq interfaces to reduce number of parameters

Jiang Liu linux-acpi linux-alpha linux-arm-kernel linux-arm-msm linux-gpio linux-m68k linux-mediatek linux-metag linux-mips linux-omap linux-pci linux-rockchip linux-samsung-soc linux-sh linux-tegra linuxppc-dev lkml sparclinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest48 patches 31 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/48genirq: Clean up outdated comments related to include/linux/irqdesc.hinclude/linux/irq.h include/linux/irqdesc.h+0 -40 replies
2/48genirq: Kill never used irq_node()include/linux/irqnr.h+0 -60 replies
3/48MIPS, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descarch/mips/ath25/ar2315.c arch/mips/ath25/ar5312.c arch/mips/cavium-octeon/octeon-irq.c +5 more+10 -81 reply
4/48powerpc, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descarch/powerpc/platforms/52xx/mpc52xx_gpt.c arch/powerpc/platforms/cell/axon_msi.c arch/powerpc/platforms/embedded6xx/hlwd-pic.c +2 more+5 -50 replies
5/48gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/gpio/gpio-bcm-kona.c drivers/gpio/gpio-dwapb.c drivers/gpio/gpio-mvebu.c +7 more+14 -151 reply
6/48pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/pinctrl/intel/pinctrl-cherryview.c drivers/pinctrl/intel/pinctrl-intel.c drivers/pinctrl/mediatek/pinctrl-mtk-common.c +13 more+46 -503 replies
7/48avr32, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descarch/avr32/mach-at32ap/pio.c+1 -10 replies
8/48mfd: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/mfd/ezx-pcap.c drivers/mfd/max8997-irq.c drivers/mfd/mt6397-core.c +3 more+12 -120 replies
9/48ARM, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descarch/arm/common/locomo.c arch/arm/common/sa1111.c arch/arm/plat-orion/gpio.c+3 -30 replies
10/48irqchip: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/irqchip/exynos-combiner.c drivers/irqchip/irq-armada-370-xp.c drivers/irqchip/irq-dw-apb-ictl.c +4 more+10 -101 reply
11/48ipu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/dma/ipu/ipu_irq.c drivers/gpu/ipu-v3/ipu-common.c+3 -32 replies
12/48sh: intc: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descarch/sh/boards/mach-se/7343/irq.c arch/sh/boards/mach-x3proto/gpio.c drivers/sh/intc/core.c +1 more+11 -90 replies
13/48keystone, irq: Use irq_data_get_xxx() to avoid redundant lookup of irq_datadrivers/pci/host/pci-keystone-dw.c+6 -90 replies
14/48spmi: Use irq_desc_get_xxx() to avoid redundant lookup of irq_descdrivers/spmi/spmi-pmic-arb.c+2 -20 replies
15/48genirq: Kill the parameter 'irq' of kstat_incr_irqs_this_cpu()kernel/irq/chip.c kernel/irq/handle.c kernel/irq/internals.h +1 more+11 -110 replies
16/48genirq: Introduce helper irq_desc_get_irq()include/linux/irqdesc.h+5 -00 replies
17/48genirq: Kill the parameter 'irq' of check_irq_resend()kernel/irq/chip.c kernel/irq/internals.h kernel/irq/manage.c +1 more+6 -40 replies
18/48genirq: Kill the parameter 'irq' of note_interrupt()include/linux/irq.h kernel/irq/chip.c kernel/irq/handle.c +4 more+42 -440 replies
19/48genirq: Change prototypes of register_irq_proc() and friendskernel/irq/internals.h kernel/irq/irqdesc.c kernel/irq/manage.c +1 more+23 -210 replies
20/48genirq: Kill the parameter 'irq' of setup_affinity()kernel/irq/manage.c+17 -140 replies
21/48ARM, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/arm/common/locomo.c arch/arm/mach-dove/irq.c arch/arm/mach-pxa/balloon3.c +4 more+13 -230 replies
22/48blackfin, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/blackfin/kernel/ipipe.c arch/blackfin/mach-common/ints-priority.c+2 -20 replies
23/48c6x, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/c6x/platforms/megamod-pic.c+2 -51 reply
24/48m68k, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/m68k/mac/psc.c+2 -10 replies
24/48m68k, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/m68k/mac/psc.c+2 -10 replies
25/48mips, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/mips/alchemy/devboards/bcsr.c arch/mips/ath79/irq.c arch/mips/pci/pci-rt3883.c+9 -71 reply
26/48powerpc, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/powerpc/platforms/512x/mpc5121_ads_cpld.c arch/powerpc/platforms/85xx/socrates_fpga_pic.c arch/powerpc/platforms/cell/interrupt.c+6 -30 replies
27/48sh, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/sh/boards/mach-se/7722/irq.c arch/sh/boards/mach-se/7724/irq.c drivers/sh/intc/virq.c+3 -30 replies
28/48unicore32, irq: Prepare for killing the first parameter 'irq' of irq_flow_handler_tarch/unicore32/kernel/irq.c+3 -20 replies
29/48ipu: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/dma/ipu/ipu_irq.c+4 -20 replies
30/48gpio: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/gpio/gpio-davinci.c drivers/gpio/gpio-ep93xx.c drivers/gpio/gpio-sa1100.c+7 -41 reply
31/48irqchip: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/irqchip/irq-brcmstb-l2.c drivers/irqchip/irq-imgpdc.c drivers/irqchip/irq-keystone.c +4 more+16 -131 reply
32/48mfd: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/mfd/ucb1x00-core.c+1 -11 reply
33/48PCI/keystone: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/pci/host/pci-keystone.c+4 -20 replies
34/48pinctrl: Prepare for killing the first parameter 'irq' of irq_flow_handler_tdrivers/pinctrl/pinctrl-amd.c drivers/pinctrl/pinctrl-coh901.c drivers/pinctrl/pinctrl-rockchip.c +2 more+12 -72 replies
35/48genirq: Kill the first parameter 'irq' of irq_flow_handler_tinclude/linux/irq.h include/linux/irqdesc.h include/linux/irqhandler.h +3 more+22 -280 replies
36/48genirq, arm: Kill the first parameter 'irq' of irq_flow_handler_tarch/arm/common/it8152.c arch/arm/common/locomo.c arch/arm/common/sa1111.c +23 more+35 -361 reply
37/48genirq, blackfin: Kill the first parameter 'irq' of irq_flow_handler_tarch/blackfin/include/asm/irq_handler.h arch/blackfin/kernel/ipipe.c arch/blackfin/mach-bf537/ints-priority.c +1 more+8 -120 replies
38/48genirq, powerpc: Kill the first parameter 'irq' of irq_flow_handler_tarch/powerpc/include/asm/qe_ic.h arch/powerpc/include/asm/tsi108_pci.h arch/powerpc/platforms/512x/mpc5121_ads_cpld.c +23 more+36 -430 replies
39/48genirq, mips: Kill the first parameter 'irq' of irq_flow_handler_tarch/mips/alchemy/common/irq.c arch/mips/alchemy/devboards/bcsr.c arch/mips/ath25/ar2315.c +11 more+23 -231 reply
40/48genirq, m68k: Kill the first parameter 'irq' of irq_flow_handler_tarch/m68k/amiga/amiints.c arch/m68k/coldfire/intc-5272.c arch/m68k/include/asm/irq.h +5 more+15 -160 replies
41/48genirq, x86: Kill the first parameter 'irq' of irq_flow_handler_tarch/x86/kernel/irq_32.c arch/x86/kernel/irq_64.c arch/x86/lguest/boot.c+8 -90 replies
42/48genirq, sh: Kill the first parameter 'irq' of irq_flow_handler_tarch/sh/boards/mach-se/7343/irq.c arch/sh/boards/mach-se/7722/irq.c arch/sh/boards/mach-se/7724/irq.c +4 more+8 -80 replies
43/48genirq, arch: Kill the first parameter 'irq' of irq_flow_handler_tarch/alpha/kernel/irq.c arch/avr32/mach-at32ap/extint.c arch/avr32/mach-at32ap/pio.c +6 more+10 -101 reply
44/48genirq, pinctrl: Kill the first parameter 'irq' of irq_flow_handler_tdrivers/pinctrl/bcm/pinctrl-cygnus-gpio.c drivers/pinctrl/intel/pinctrl-baytrail.c drivers/pinctrl/intel/pinctrl-cherryview.c +17 more+33 -345 replies
45/48genirq, gpio: Kill the first parameter 'irq' of irq_flow_handler_tdrivers/gpio/gpio-altera.c drivers/gpio/gpio-bcm-kona.c drivers/gpio/gpio-davinci.c +19 more+26 -282 replies
46/48genirq, irqchip: Kill the first parameter 'irq' of irq_flow_handler_tdrivers/irqchip/exynos-combiner.c drivers/irqchip/irq-armada-370-xp.c drivers/irqchip/irq-bcm7038-l1.c +17 more+24 -271 reply
47/48genirq, mfd: Kill the first parameter 'irq' of irq_flow_handler_tdrivers/mfd/asic3.c drivers/mfd/ezx-pcap.c drivers/mfd/htc-egpio.c +5 more+8 -80 replies
48/48genirq, drivers: Kill the first parameter 'irq' of irq_flow_handler_tdrivers/dma/ipu/ipu_irq.c drivers/gpu/ipu-v3/ipu-common.c drivers/pci/host/pci-keystone.c +1 more+7 -80 replies

Reviews trailers per patch

20 of 49 patches have a Reviewed-by or Acked-by.

PatchLinus WalleijHans-Christian EgtvedtLee JonesRussell KingRalf BaechleKrzysztof KozlowskiJavier Martinez CanillasSergey RyazanovTomasz FigaMark SalterHeiko StuebnerMatthias Brugger
1/48
2/48
3/48A-b
4/48
5/48A-b A-b
6/48A-b A-b A-b A-b
7/48A-b
8/48A-b
9/48A-b
10/48A-b
11/48
12/48
13/48
14/48
15/48
16/48
17/48
18/48
19/48
20/48
21/48
22/48
23/48A-b
24/48
24/48
25/48A-b
26/48
27/48
28/48
29/48
30/48A-b
31/48A-b
32/48A-b
33/48
34/48A-b A-b
35/48
36/48A-b
37/48
38/48
39/48A-b A-b
40/48
41/48
42/48
43/48A-b A-b
44/48A-b A-b A-b A-b
45/48A-b A-b
46/48A-b A-b
47/48A-b
48/48

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 12 reviewers.

Read the v2 thread

Cover letter [RFT v2 00/48] Refine irq interfaces to reduce number of parameters

Many irq core interfaces pass both 'struct irq_desc *desc' and 'int irq' to identify an irq. But that's a little overhead, either 'irq_desc' or 'irq' could identify an irq. We could get 'irq_desc' from 'irq' by irq_to_desc() and get 'irq' from 'irq_desc' through irq_desc->irq_data.irq. So this patch set aims to reduce number of parameters of irq related interfaces by passing in either 'irq' or 'irq_desc" but not both. Hope this helps to simplify interfaces and improve performance.

This patch set is based the patch set to refine struct irq_data, which has been posted at:

The patch set could be split into five parts:
1) Patch 1-2 is following-on cleanup work for
2) Patch 3-14 optimize irq handlers by avoiding redundant calling of irq_to_desc() when we already have a pointer to corresponding irq_desc.
3) Patch 15-20 reduce number of parameters of irq core functions.
4) Patch 21-34 prepare for killing the first parameter 'irq' of irq_flow_handler_t
5) Patch 35-48 kill the first parameter 'irq' of irq_flow_handler_t. All these patches should be combined as one big patch to support bisecting, they have been split for easy review only.

With all these patches applied, a tree-wide 'grep -R "struct irq_desc" *'
shows that there are only four functions left who take both 'irq' and
'irq_desc' as parameters:
kernel/irq/manage.c:__setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new) kernel/irq/debug.h:static inline void print_irq_desc(unsigned int irq, struct irq_desc *desc) kernel/irq/irqdesc.c:static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, kernel/irq/irqdesc.c:static void irq_insert_desc(unsigned int irq, struct irq_desc *desc)

They are all pretty safe, it's a good sign that we have done a clean conversion. Thomas suggested to use coci scripts verify conversion result, it's a little hard for me and will ask for help from Julia later.

You may get the patch set from:
The patch set passes Fengguang's 0day test suites as below. And tests with other platforms and configurations will be appreciated:)
----------------------------------------------------------
configs tested: 95

alpha defconfig
parisc allnoconfig
parisc b180_defconfig
parisc c3000_defconfig
parisc defconfig
i386 randconfig-a0-06031710
i386 randconfig-a1-06031710
x86_64 acpi-redef
x86_64 allyesdebian
x86_64 nfsroot
x86_64 allnoconfig
x86_64 rhel
sh allnoconfig
sh rsk7269_defconfig
sh sh7785lcr_32bit_defconfig
sh titan_defconfig
ia64 alldefconfig
ia64 allnoconfig
ia64 defconfig
powerpc allnoconfig
powerpc defconfig
powerpc ppc64_defconfig
i386 alldefconfig
i386 allmodconfig
i386 allnoconfig
i386 defconfig
mips allnoconfig
mips fuloong2e_defconfig
mips jz4740
mips txx9
x86_64 randconfig-i0-0603
x86_64 randconfig-i1-0603
sparc defconfig
sparc64 allnoconfig
sparc64 defconfig
microblaze mmu_defconfig
microblaze nommu_defconfig
i386 randconfig-i0-0603
i386 randconfig-i1-0603
i386 allyesconfig
blackfin BF526-EZBRD_defconfig
blackfin BF533-EZKIT_defconfig
blackfin BF561-EZKIT-SMP_defconfig
blackfin TCM-BF537_defconfig
cris etrax-100lx_v2_defconfig
i386 randconfig-n0-0603
i386 randconfig-n1-0603
x86_64 lkp
arm allnoconfig
arm at91_dt_defconfig
arm at_hdmac
arm ep93xx
arm imx_v6_v7_defconfig
arm iop-adma
arm marzen_defconfig
arm prima2_defconfig
arm sa1100
arm samsung
arm sh
arm spear13xx_defconfig
m68k amiga_defconfig
m68k m5475evb_defconfig
m68k multi_defconfig
x86_64 allmodconfig

x86_64               randconfig-x000-06031659
x86_64               randconfig-x001-06031659
x86_64               randconfig-x002-06031659
x86_64               randconfig-x003-06031659
x86_64               randconfig-x004-06031659
x86_64               randconfig-x005-06031659
x86_64               randconfig-x006-06031659
x86_64               randconfig-x007-06031659
x86_64               randconfig-x008-06031659
x86_64               randconfig-x009-06031659
i386                       randconfig-r0-0603
i386                       randconfig-r1-0603
avr32                      atngw100_defconfig

avr32 atstk1006_defconfig
frv defconfig
mn10300 asb2364_defconfig
openrisc or1ksim_defconfig
tile tilegx_defconfig
um i386_defconfig
um x86_64_defconfig

i386                 randconfig-x000-06031736
i386                 randconfig-x001-06031736
i386                 randconfig-x002-06031736
i386                 randconfig-x003-06031736
i386                 randconfig-x004-06031736
i386                 randconfig-x005-06031736
i386                 randconfig-x006-06031736
i386                 randconfig-x007-06031736
i386                 randconfig-x008-06031736
i386                 randconfig-x009-06031736

x86_64 randconfig-x0-06031736

Thanks!
Gerry

Jiang Liu (48):
genirq: Clean up outdated comments related to include/linux/irqdesc.h
genirq: Kill never used irq_node()
MIPS, irq: Use irq_desc_get_xxx() to avoid redundant lookup of
irq_desc
powerpc, irq: Use irq_desc_get_xxx() to avoid redundant lookup of
irq_desc
gpio: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc avr32, irq: Use irq_desc_get_xxx() to avoid redundant lookup of
irq_desc
mfd: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc ARM, irq: Use irq_desc_get_xxx() to avoid redundant lookup of
irq_desc
irqchip: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
ipu: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
sh: intc: Use irq_desc_get_xxx() to avoid redundant lookup of
irq_desc
keystone, irq: Use irq_data_get_xxx() to avoid redundant lookup of
irq_data
spmi: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
genirq: Kill the parameter 'irq' of kstat_incr_irqs_this_cpu()
genirq: Introduce helper irq_desc_get_irq()
genirq: Kill the parameter 'irq' of check_irq_resend()
genirq: Kill the parameter 'irq' of note_interrupt()
genirq: Change prototypes of register_irq_proc() and friends
genirq: Kill the parameter 'irq' of setup_affinity()
ARM, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
blackfin, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
c6x, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
m68k, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
mips, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
powerpc, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
sh, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
unicore32, irq: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
ipu: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
gpio: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
irqchip: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
mfd: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
PCI/keystone: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
pinctrl: Prepare for killing the first parameter 'irq' of
irq_flow_handler_t
genirq: Kill the first parameter 'irq' of irq_flow_handler_t genirq, arm: Kill the first parameter 'irq' of irq_flow_handler_t genirq, blackfin: Kill the first parameter 'irq' of
irq_flow_handler_t
genirq, powerpc: Kill the first parameter 'irq' of irq_flow_handler_t genirq, mips: Kill the first parameter 'irq' of irq_flow_handler_t genirq, m68k: Kill the first parameter 'irq' of irq_flow_handler_t genirq, x86: Kill the first parameter 'irq' of irq_flow_handler_t genirq, sh: Kill the first parameter 'irq' of irq_flow_handler_t genirq, arch: Kill the first parameter 'irq' of irq_flow_handler_t genirq, pinctrl: Kill the first parameter 'irq' of irq_flow_handler_t genirq, gpio: Kill the first parameter 'irq' of irq_flow_handler_t genirq, irqchip: Kill the first parameter 'irq' of irq_flow_handler_t genirq, mfd: Kill the first parameter 'irq' of irq_flow_handler_t genirq, drivers: Kill the first parameter 'irq' of irq_flow_handler_t

 arch/alpha/kernel/irq.c                         |    2 +-
 arch/arm/common/it8152.c                        |    2 +-
 arch/arm/common/locomo.c                        |   13 ++---
 arch/arm/common/sa1111.c                        |    6 +--
 arch/arm/include/asm/hardware/it8152.h          |    2 +-
 arch/arm/include/asm/mach/irq.h                 |    4 +-
 arch/arm/mach-dove/irq.c                        |    5 +-
 arch/arm/mach-footbridge/isa-irq.c              |    4 +-
 arch/arm/mach-gemini/gpio.c                     |    2 +-
 arch/arm/mach-imx/3ds_debugboard.c              |    2 +-
 arch/arm/mach-imx/mach-mx31ads.c                |    2 +-
 arch/arm/mach-iop13xx/msi.c                     |    2 +-
 arch/arm/mach-lpc32xx/irq.c                     |    4 +-
 arch/arm/mach-netx/generic.c                    |    2 +-
 arch/arm/mach-omap1/fpga.c                      |    2 +-
 arch/arm/mach-omap2/prm_common.c                |    2 +-
 arch/arm/mach-pxa/balloon3.c                    |    5 +-
 arch/arm/mach-pxa/cm-x2xx-pci.c                 |    4 +-
 arch/arm/mach-pxa/lpd270.c                      |    6 +--
 arch/arm/mach-pxa/pcm990-baseboard.c            |    5 +-
 arch/arm/mach-pxa/viper.c                       |    8 ++-
 arch/arm/mach-pxa/zeus.c                        |    8 ++-
 arch/arm/mach-rpc/ecard.c                       |    2 +-
 arch/arm/mach-s3c24xx/bast-irq.c                |    3 +-
 arch/arm/mach-s3c64xx/common.c                  |    8 +--
 arch/arm/mach-sa1100/neponset.c                 |    2 +-
 arch/arm/plat-orion/gpio.c                      |    4 +-
 arch/avr32/mach-at32ap/extint.c                 |    2 +-
 arch/avr32/mach-at32ap/pio.c                    |    4 +-
 arch/blackfin/include/asm/irq_handler.h         |    4 +-
 arch/blackfin/kernel/ipipe.c                    |    4 +-
 arch/blackfin/mach-bf537/ints-priority.c        |    8 ++-
 arch/blackfin/mach-common/ints-priority.c       |    8 ++-
 arch/c6x/platforms/megamod-pic.c                |    9 ++--
 arch/m68k/amiga/amiints.c                       |    8 +--
 arch/m68k/coldfire/intc-5272.c                  |    4 +-
 arch/m68k/include/asm/irq.h                     |    3 +-
 arch/m68k/include/asm/mac_via.h                 |    2 +-
 arch/m68k/mac/baboon.c                          |    2 +-
 arch/m68k/mac/oss.c                             |    4 +-
 arch/m68k/mac/psc.c                             |    3 +-
 arch/m68k/mac/via.c                             |    6 +--
 arch/mips/alchemy/common/irq.c                  |    4 +-
 arch/mips/alchemy/devboards/bcsr.c              |    3 +-
 arch/mips/ath25/ar2315.c                        |    4 +-
 arch/mips/ath25/ar5312.c                        |    4 +-
 arch/mips/ath79/irq.c                           |   11 ++--
 arch/mips/cavium-octeon/octeon-irq.c            |   12 +++--
 arch/mips/include/asm/netlogic/common.h         |    4 +-
 arch/mips/jz4740/gpio.c                         |    2 +-
 arch/mips/netlogic/common/smp.c                 |    4 +-
 arch/mips/pci/pci-ar2315.c                      |    4 +-
 arch/mips/pci/pci-ar71xx.c                      |    4 +-
 arch/mips/pci/pci-ar724x.c                      |    4 +-
 arch/mips/pci/pci-rt3883.c                      |    8 ++-
 arch/mips/ralink/irq.c                          |    4 +-
 arch/powerpc/include/asm/qe_ic.h                |   23 ++++----
 arch/powerpc/include/asm/tsi108_pci.h           |    2 +-
 arch/powerpc/platforms/512x/mpc5121_ads_cpld.c  |    4 +-
 arch/powerpc/platforms/52xx/media5200.c         |    2 +-
 arch/powerpc/platforms/52xx/mpc52xx_gpt.c       |    4 +-
 arch/powerpc/platforms/82xx/pq2ads-pci-pic.c    |    2 +-
 arch/powerpc/platforms/85xx/common.c            |    2 +-
 arch/powerpc/platforms/85xx/mpc85xx_cds.c       |    5 +-
 arch/powerpc/platforms/85xx/mpc85xx_ds.c        |    2 +-
 arch/powerpc/platforms/85xx/socrates_fpga_pic.c |    4 +-
 arch/powerpc/platforms/86xx/pic.c               |    2 +-
 arch/powerpc/platforms/8xx/m8xx_setup.c         |    2 +-
 arch/powerpc/platforms/cell/axon_msi.c          |    4 +-
 arch/powerpc/platforms/cell/interrupt.c         |    3 +-
 arch/powerpc/platforms/cell/spider-pic.c        |    2 +-
 arch/powerpc/platforms/chrp/setup.c             |    2 +-
 arch/powerpc/platforms/embedded6xx/hlwd-pic.c   |    5 +-
 arch/powerpc/platforms/embedded6xx/mvme5100.c   |    2 +-
 arch/powerpc/platforms/pseries/setup.c          |    2 +-
 arch/powerpc/sysdev/ge/ge_pic.c                 |    2 +-
 arch/powerpc/sysdev/ge/ge_pic.h                 |    2 +-
 arch/powerpc/sysdev/mpic.c                      |    2 +-
 arch/powerpc/sysdev/qe_lib/qe_ic.c              |    4 +-
 arch/powerpc/sysdev/tsi108_pci.c                |    2 +-
 arch/powerpc/sysdev/uic.c                       |    4 +-
 arch/powerpc/sysdev/xics/xics-common.c          |    2 +-
 arch/powerpc/sysdev/xilinx_intc.c               |    2 +-
 arch/sh/boards/mach-se/7343/irq.c               |    4 +-
 arch/sh/boards/mach-se/7722/irq.c               |    4 +-
 arch/sh/boards/mach-se/7724/irq.c               |    4 +-
 arch/sh/boards/mach-x3proto/gpio.c              |    4 +-
 arch/sh/cchips/hd6446x/hd64461.c                |    2 +-
 arch/sparc/kernel/leon_kernel.c                 |    2 +-
 arch/sparc/kernel/leon_pci_grpci1.c             |    2 +-
 arch/sparc/kernel/leon_pci_grpci2.c             |    2 +-
 arch/tile/kernel/pci_gx.c                       |    4 +-
 arch/unicore32/kernel/irq.c                     |    5 +-
 arch/x86/kernel/irq_32.c                        |   13 +++--
 arch/x86/kernel/irq_64.c                        |    2 +-
 arch/x86/lguest/boot.c                          |    2 +-
 drivers/dma/ipu/ipu_irq.c                       |    8 +--
 drivers/gpio/gpio-altera.c                      |    6 +--
 drivers/gpio/gpio-bcm-kona.c                    |    4 +-
 drivers/gpio/gpio-davinci.c                     |    3 +-
 drivers/gpio/gpio-dwapb.c                       |    4 +-
 drivers/gpio/gpio-ep93xx.c                      |    5 +-
 drivers/gpio/gpio-intel-mid.c                   |    2 +-
 drivers/gpio/gpio-lynxpoint.c                   |    2 +-
 drivers/gpio/gpio-mpc8xxx.c                     |    2 +-
 drivers/gpio/gpio-msic.c                        |    2 +-
 drivers/gpio/gpio-msm-v2.c                      |    2 +-
 drivers/gpio/gpio-mvebu.c                       |    4 +-
 drivers/gpio/gpio-mxc.c                         |   10 ++--
 drivers/gpio/gpio-mxs.c                         |    4 +-
 drivers/gpio/gpio-omap.c                        |    4 +-
 drivers/gpio/gpio-pl061.c                       |    2 +-
 drivers/gpio/gpio-pxa.c                         |    2 +-
 drivers/gpio/gpio-sa1100.c                      |    5 +-
 drivers/gpio/gpio-tegra.c                       |    6 +--
 drivers/gpio/gpio-timberdale.c                  |    7 +--
 drivers/gpio/gpio-tz1090.c                      |    4 +-
 drivers/gpio/gpio-vf610.c                       |    4 +-
 drivers/gpio/gpio-zynq.c                        |    4 +-
 drivers/gpu/ipu-v3/ipu-common.c                 |    8 +--
 drivers/irqchip/exynos-combiner.c               |    8 +--
 drivers/irqchip/irq-armada-370-xp.c             |    5 +-
 drivers/irqchip/irq-bcm7038-l1.c                |    2 +-
 drivers/irqchip/irq-bcm7120-l2.c                |    2 +-
 drivers/irqchip/irq-brcmstb-l2.c                |    7 +--
 drivers/irqchip/irq-dw-apb-ictl.c               |    6 +--
 drivers/irqchip/irq-gic.c                       |    6 +--
 drivers/irqchip/irq-imgpdc.c                    |    5 +-
 drivers/irqchip/irq-keystone.c                  |    6 +--
 drivers/irqchip/irq-metag-ext.c                 |    3 +-
 drivers/irqchip/irq-metag.c                     |    3 +-
 drivers/irqchip/irq-mips-gic.c                  |    2 +-
 drivers/irqchip/irq-mmp.c                       |    3 +-
 drivers/irqchip/irq-orion.c                     |    4 +-
 drivers/irqchip/irq-s3c24xx.c                   |    6 +--
 drivers/irqchip/irq-sunxi-nmi.c                 |    4 +-
 drivers/irqchip/irq-tb10x.c                     |    4 +-
 drivers/irqchip/irq-versatile-fpga.c            |    6 +--
 drivers/irqchip/irq-vic.c                       |    2 +-
 drivers/irqchip/spear-shirq.c                   |    4 +-
 drivers/mfd/asic3.c                             |    2 +-
 drivers/mfd/ezx-pcap.c                          |    4 +-
 drivers/mfd/htc-egpio.c                         |    2 +-
 drivers/mfd/jz4740-adc.c                        |    2 +-
 drivers/mfd/max8997-irq.c                       |    8 +--
 drivers/mfd/mt6397-core.c                       |    8 +--
 drivers/mfd/pm8921-core.c                       |    2 +-
 drivers/mfd/t7l66xb.c                           |    4 +-
 drivers/mfd/tc6393xb.c                          |    4 +-
 drivers/mfd/twl6030-irq.c                       |    2 +-
 drivers/mfd/ucb1x00-core.c                      |    4 +-
 drivers/pci/host/pci-keystone-dw.c              |   15 +++---
 drivers/pci/host/pci-keystone.c                 |    7 +--
 drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c       |    2 +-
 drivers/pinctrl/intel/pinctrl-baytrail.c        |    2 +-
 drivers/pinctrl/intel/pinctrl-cherryview.c      |    4 +-
 drivers/pinctrl/intel/pinctrl-intel.c           |    4 +-
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c   |    6 +--
 drivers/pinctrl/nomadik/pinctrl-nomadik.c       |   14 +++--
 drivers/pinctrl/pinctrl-adi2.c                  |    3 +-
 drivers/pinctrl/pinctrl-amd.c                   |    8 +--
 drivers/pinctrl/pinctrl-at91.c                  |    4 +-
 drivers/pinctrl/pinctrl-coh901.c                |    7 +--
 drivers/pinctrl/pinctrl-rockchip.c              |    8 +--
 drivers/pinctrl/pinctrl-single.c                |    4 +-
 drivers/pinctrl/pinctrl-st.c                    |   10 ++--
 drivers/pinctrl/qcom/pinctrl-msm.c              |    6 +--
 drivers/pinctrl/samsung/pinctrl-exynos.c        |   12 ++---
 drivers/pinctrl/samsung/pinctrl-s3c24xx.c       |   26 ++++-----
 drivers/pinctrl/samsung/pinctrl-s3c64xx.c       |   32 ++++++-----
 drivers/pinctrl/sirf/pinctrl-sirf.c             |    7 +--
 drivers/pinctrl/spear/pinctrl-plgpio.c          |    2 +-
 drivers/pinctrl/sunxi/pinctrl-sunxi.c           |    7 +--
 drivers/sh/intc/core.c                          |    4 +-
 drivers/sh/intc/virq.c                          |   18 ++++---
 drivers/spmi/spmi-pmic-arb.c                    |    6 +--
 include/linux/irq.h                             |   20 ++++---
 include/linux/irqdesc.h                         |   12 +++--
 include/linux/irqhandler.h                      |    2 +-
 include/linux/irqnr.h                           |    6 ---
 kernel/irq/chip.c                               |   44 +++++++--------
 kernel/irq/handle.c                             |    8 +--
 kernel/irq/internals.h                          |   29 +++++-----
 kernel/irq/irqdesc.c                            |    6 +--
 kernel/irq/manage.c                             |   66 ++++++++++++-----------
 kernel/irq/pm.c                                 |   12 ++---
 kernel/irq/proc.c                               |   16 +++---
 kernel/irq/resend.c                             |    4 +-
 kernel/irq/spurious.c                           |   33 ++++++------
 189 files changed, 543 insertions(+), 565 deletions(-)
Signature · 1 line
1.7.10.4