Tree wide: cleanup IRQF_DISABLED
Subsystems (89)
v3 cover Tree wide: cleanup IRQF_DISABLED
Hi Thomas,
Since the merge window will open soon, and the following patches are the loftovers, Could you please pick them up?
Thanks,
Yong
------------------changelog from V2 to V3------------------------ Changelog V3 < V2:
-- Refresh the patches based on next-20111014
-- Drop below patches since it's been taken:
ata-irq-Remove-IRQF_DISABLED.patch
i2c-irq-Remove-IRQF_DISABLED.patch
infiniband-irq-Remove-IRQF_DISABLED.patch
mmc-irq-Remove-IRQF_DISABLED.patch
TTY-irq-Remove-IRQF_DISABLED.patch
video-irq-Remove-IRQF_DISABLED.patch
sound-irq-Remove-IRQF_DISABLED.patch
-- Collect more Acks.
-- Add one more patches which do more cleanup on USB.
USB-pxa168-xls-irq-Remove-IRQF_DISABLED.patch
When I made the patch which has been picked up by Greg, ehci-pxa168 and ohci-xls is not included in the tree yet. So now we have this additional patch.
------------------changelog from V1 to V2------------------------ Changelog V2 < V1:
-- Change c58543c8 to e58aa3d2 to reflect the correct commit
-- Drop below patches since it's been taken:
hexagon-irq-Remove-IRQF_DISABLED.patch (Richard Kuo)
hwmon-irq-Remove-IRQF_DISABLED.patch (Guenter Roeck)
-- Collect more Acks.
------------------changelog from V0 to V1------------------------ Changelog V1 < V0:
-- Show more info in the commit log, thus make the patch more
easy to review (Required by David Miller)
-- Drop below pathces since they are not needed any more:
mpu401-snd_mpu401_uart_new-split-semantic-of-irq_fla.patch
gpio-irq-Remove-IRQF_DISABLED.patch -- Drop below patches since they are picked by individual maintainer:
Blackfin-irq-Remove-IRQF_DISABLED.patch (Bob Liu) staging-irq-Remove-IRQF_DISABLED.patch (Greg KH)
USB-irq-Remove-IRQF_DISABLED.patch (Greg KH)
Input-irq-Remove-IRQF_DISABLED.patch (Dmitry Torokhov)
mfd-irq-Remove-IRQF_DISABLED.patch (Samuel Ortiz)
-- Collect some Acks.
Almost half of the patches get Acks(for the whole patch or part).
-- Refresh this patchset based on next-20110920 (commit 8c024a21).
-- Add two more patches:
hexagon-irq-Remove-IRQF_DISABLED.patch hwmon-irq-Remove-IRQF_DISABLED.patch
The two new add patches make me think that we should push this patches to upstream ASAP.
------------------------base log(in V0)------------------------- IRQF_DISABLED has been marked 'removal' for some time, now this trival patchset achive the goal.
Most of the patch is one-line change/remove IRQF_DISABLED except patch-0001.
patch-0001 just remove the workround which live with IRQF_DISABLED is not NOOP, say before v2.6.35.
Others just do:
--if IRQF_DISABLED is combined with other irq_flags,just remove
IRQF_DISABLED;
--if IRQF_DISABLED is the only irq_flags of request_irq(),
change IRQF_DISABLED to 0 like some callers of request_irq() have done.
--if IRQF_DISABLED is the only flags if irq_action, just remove
that item.
And I make the patches based on subdirs, so it's more easy to be reviewed/taken by relevant trees than one-big-patch.
---
Yong Zhang (49):
usb/hcd: Remove tricky code dealing with IRQF_DISABLED && IRQF_SHARED
alpha: irq: Remove IRQF_DISABLED
arm: irq: Remove IRQF_DISABLED
avr32: irq: Remove IRQF_DISABLED
cris: irq: Remove IRQF_DISABLED
frv: irq: Remove IRQF_DISABLED
h8300: irq: Remove IRQF_DISABLED
ia64: irq: Remove IRQF_DISABLED
m32r: irq: Remove IRQF_DISABLED
m68k: irq: Remove IRQF_DISABLED
microblaze: irq: Remove IRQF_DISABLED
MIPS: irq: Remove IRQF_DISABLED
mn10300: irq: Remove IRQF_DISABLED
parisc: irq: remove IRQF_DISABLED
powerpc: irq: Remove IRQF_DISABLED
SH: irq: Remove IRQF_DISABLED
sparc: irq: Remove IRQF_DISABLED
um: irq: Remove IRQF_DISABLED
unicore32: Remove IRQF_DISABLED
x86: irq: Remove IRQF_DISABLED
xtensa: irq: Remove IRQF_DISABLED
score: irq: Remove IRQF_DISABLED
clocksource: irq: Remove IRQF_DISABLED
SCSI: irq: Remove IRQF_DISABLED
block: irq: Remove IRQF_DISABLED
cdrom: irq: Remove IRQF_DISABLED
driver/char: irq: Remove IRQF_DISABLED
crypto: irq: Remove IRQF_DISABLED
dmaengine: irq: Remove IRQF_DISABLED
EDAC: irq: Remove IRQF_DISABLED
ISDN: irq: Remove IRQF_DISABLED
media: irq: Remove IRQF_DISABLED
drivers:misc:irq: Remove IRQF_DISABLED
mtd: irq: Remove IRQF_DISABLED
net: irq: Remove IRQF_DISABLED
dirvers/parisc: irq: Remove IRQF_DISABLED
pcmcia: irq: Remove IRQF_DISABLED
sony-laptop:irq: Remove IRQF_DISABLED
PNP: irq: Remove IRQF_DISABLED
power_supply:irq: Remove IRQF_DISABLED
powerpc/ps3: irq: Remove IRQF_DISABLED
rtc: irq: Remove IRQF_DISABLED
spi: irq: Remove IRQF_DISABLED
w1: irq: Remove IRQF_DISABLED
watchdog: irq: Remove IRQF_DISABLED
xen: irq: Remove IRQF_DISABLED
Documentation: irq: Change documents related to IRQF_DISABLED
USB: pxa168: xls: irq: Remove IRQF_DISABLED
genirq: Remove IRQF_DISABLED
Documentation/PCI/MSI-HOWTO.txt | 21 --------------------- Documentation/feature-removal-schedule.txt | 7 ------- Documentation/scsi/ncr53c8xx.txt | 3 ++- Documentation/scsi/tmscsim.txt | 4 ++-- arch/alpha/include/asm/floppy.h | 2 +- arch/alpha/kernel/irq_alpha.c | 1 - arch/alpha/kernel/sys_titan.c | 14 +++++++------- arch/arm/common/time-acorn.c | 1 - arch/arm/common/timer-sp.c | 2 +- arch/arm/include/asm/floppy.h | 2 +- arch/arm/kernel/perf_event.c | 2 +- arch/arm/mach-at91/at91rm9200_time.c | 2 +- arch/arm/mach-at91/at91sam926x_time.c | 2 +- arch/arm/mach-at91/at91x40_time.c | 2 +- arch/arm/mach-bcmring/dma.c | 2 +- arch/arm/mach-clps711x/time.c | 2 +- arch/arm/mach-cns3xxx/core.c | 2 +- arch/arm/mach-davinci/board-da830-evm.c | 2 +- arch/arm/mach-davinci/board-omapl138-hawk.c | 2 +- arch/arm/mach-davinci/time.c | 4 ++-- arch/arm/mach-ebsa110/core.c | 2 +- arch/arm/mach-ep93xx/core.c | 2 +- arch/arm/mach-footbridge/dc21285-timer.c | 2 +- arch/arm/mach-footbridge/dc21285.c | 10 +++++----- arch/arm/mach-footbridge/isa-timer.c | 2 +- arch/arm/mach-gemini/time.c | 2 +- arch/arm/mach-h720x/cpu-h7201.c | 2 +- arch/arm/mach-h720x/cpu-h7202.c | 2 +- arch/arm/mach-imx/mach-armadillo5x0.c | 2 +- arch/arm/mach-imx/mach-mx31_3ds.c | 2 +- arch/arm/mach-imx/mach-pca100.c | 2 +- arch/arm/mach-imx/mach-pcm037.c | 2 +- arch/arm/mach-imx/mx31lilly-db.c | 2 +- arch/arm/mach-integrator/integrator_ap.c | 2 +- arch/arm/mach-ixp2000/core.c | 2 +- arch/arm/mach-ixp23xx/core.c | 2 +- arch/arm/mach-ixp4xx/common.c | 2 +- arch/arm/mach-ixp4xx/dsmg600-setup.c | 2 +- arch/arm/mach-ixp4xx/fsg-setup.c | 4 ++-- arch/arm/mach-ixp4xx/nas100d-setup.c | 2 +- arch/arm/mach-ixp4xx/nslu2-setup.c | 4 ++-- arch/arm/mach-ks8695/time.c | 2 +- arch/arm/mach-lpc32xx/timer.c | 2 +- arch/arm/mach-mmp/time.c | 2 +- arch/arm/mach-msm/timer.c | 4 ++-- arch/arm/mach-netx/time.c | 2 +- arch/arm/mach-omap1/fpga.c | 4 ++-- arch/arm/mach-omap1/pm.c | 1 - arch/arm/mach-omap1/time.c | 2 +- arch/arm/mach-omap1/timer32k.c | 2 +- arch/arm/mach-omap2/omap_l3_noc.c | 4 ++-- arch/arm/mach-omap2/omap_l3_smx.c | 4 ++-- arch/arm/mach-omap2/pm34xx.c | 2 +- arch/arm/mach-omap2/timer.c | 2 +- arch/arm/mach-pnx4008/time.c | 2 +- arch/arm/mach-pxa/am200epd.c | 2 +- arch/arm/mach-pxa/am300epd.c | 2 +- arch/arm/mach-pxa/em-x270.c | 2 +- arch/arm/mach-pxa/magician.c | 2 +- arch/arm/mach-pxa/mainstone.c | 2 +- arch/arm/mach-pxa/pcm990-baseboard.c | 2 +- arch/arm/mach-pxa/sharpsl_pm.c | 8 ++++---- arch/arm/mach-pxa/time.c | 2 +- arch/arm/mach-pxa/trizeps4.c | 2 +- arch/arm/mach-rpc/dma.c | 2 +- arch/arm/mach-s3c2410/usb-simtec.c | 2 +- arch/arm/mach-s3c64xx/mach-smartq.c | 2 +- arch/arm/mach-sa1100/dma.c | 2 +- arch/arm/mach-sa1100/time.c | 2 +- arch/arm/mach-shark/core.c | 2 +- arch/arm/mach-tcc8k/time.c | 2 +- arch/arm/mach-tegra/timer.c | 2 +- arch/arm/mach-u300/timer.c | 2 +- arch/arm/mach-vt8500/timer.c | 2 +- arch/arm/mach-w90x900/time.c | 2 +- arch/arm/mach-zynq/timer.c | 2 +- arch/arm/plat-iop/time.c | 2 +- arch/arm/plat-mxc/Kconfig | 2 +- arch/arm/plat-mxc/epit.c | 2 +- arch/arm/plat-mxc/time.c | 2 +- arch/arm/plat-nomadik/timer.c | 2 +- arch/arm/plat-omap/dma.c | 1 - arch/arm/plat-orion/time.c | 2 +- arch/arm/plat-pxa/dma.c | 2 +- arch/arm/plat-s3c24xx/dma.c | 2 +- arch/arm/plat-s5p/s5p-time.c | 2 +- arch/arm/plat-s5p/sysmmu.c | 2 +- arch/arm/plat-samsung/time.c | 2 +- arch/arm/plat-spear/time.c | 2 +- arch/avr32/kernel/time.c | 2 +- arch/cris/arch-v10/drivers/gpio.c | 4 ++-- arch/cris/arch-v10/drivers/sync_serial.c | 4 ++-- arch/cris/arch-v10/kernel/time.c | 4 ++-- arch/cris/arch-v32/drivers/mach-a3/gpio.c | 2 +- arch/cris/arch-v32/drivers/mach-fs/gpio.c | 4 ++-- arch/cris/arch-v32/kernel/fasttimer.c | 2 +- arch/cris/arch-v32/kernel/irq.c | 4 ++-- arch/cris/arch-v32/kernel/smp.c | 1 - arch/cris/arch-v32/kernel/time.c | 4 ++-- arch/cris/arch-v32/mach-a3/arbiter.c | 4 ++-- arch/cris/arch-v32/mach-fs/arbiter.c | 2 +- arch/cris/include/arch-v10/arch/irq.h | 5 +++-- arch/cris/include/arch-v32/arch/irq.h | 5 +++-- arch/cris/kernel/irq.c | 3 +-- arch/frv/kernel/irq-mb93091.c | 8 ++++---- arch/frv/kernel/irq-mb93093.c | 1 - arch/frv/kernel/irq-mb93493.c | 4 ++-- arch/frv/kernel/time.c | 1 - arch/h8300/kernel/timer/itu.c | 2 +- arch/h8300/kernel/timer/timer16.c | 2 +- arch/h8300/kernel/timer/timer8.c | 2 +- arch/h8300/kernel/timer/tpu.c | 2 +- arch/ia64/hp/sim/simserial.c | 2 +- arch/ia64/kernel/irq_ia64.c | 4 ---- arch/ia64/kernel/mca.c | 6 ------ arch/ia64/kernel/perfmon.c | 1 - arch/ia64/kernel/time.c | 2 +- arch/ia64/xen/irq_xen.c | 3 --- arch/m32r/kernel/time.c | 1 - arch/m68k/include/asm/floppy.h | 2 +- arch/m68k/include/asm/irq.h | 4 ++-- arch/m68k/include/asm/sun3xflop.h | 2 +- arch/m68k/platform/68328/timers.c | 2 +- arch/m68k/platform/68360/config.c | 2 +- arch/m68k/platform/coldfire/pit.c | 2 +- arch/m68k/platform/coldfire/sltimers.c | 4 ++-- arch/m68k/platform/coldfire/timers.c | 4 ++-- arch/microblaze/kernel/timer.c | 2 +- arch/mips/alchemy/common/dbdma.c | 2 +- arch/mips/alchemy/common/time.c | 2 +- arch/mips/alchemy/devboards/db1200/platform.c | 4 ++-- arch/mips/cavium-octeon/smp.c | 2 +- arch/mips/dec/setup.c | 1 - arch/mips/include/asm/mach-generic/floppy.h | 2 +- arch/mips/include/asm/mach-jazz/floppy.h | 2 +- arch/mips/jazz/irq.c | 2 +- arch/mips/kernel/cevt-bcm1480.c | 2 +- arch/mips/kernel/cevt-ds1287.c | 2 +- arch/mips/kernel/cevt-gt641xx.c | 2 +- arch/mips/kernel/cevt-r4k.c | 2 +- arch/mips/kernel/cevt-sb1250.c | 2 +- arch/mips/kernel/cevt-txx9.c | 2 +- arch/mips/kernel/i8253.c | 2 +- arch/mips/kernel/rtlx.c | 1 - arch/mips/kernel/smtc.c | 2 +- arch/mips/lantiq/irq.c | 1 - arch/mips/loongson/common/cs5536/cs5536_mfgpt.c | 2 +- arch/mips/mti-malta/malta-int.c | 4 ++-- arch/mips/pci/ops-pmcmsp.c | 2 +- arch/mips/pci/ops-tx3927.c | 2 +- arch/mips/pci/pci-tx4927.c | 2 +- arch/mips/pci/pci-tx4938.c | 2 +- arch/mips/pci/pci-tx4939.c | 2 +- arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | 2 +- arch/mips/pmc-sierra/msp71xx/msp_smp.c | 4 ++-- arch/mips/pnx8550/common/int.c | 4 ++-- arch/mips/pnx8550/common/time.c | 4 ++-- arch/mips/sgi-ip22/ip22-int.c | 10 +++++----- arch/mips/sgi-ip27/ip27-irq.c | 2 +- arch/mips/sgi-ip27/ip27-timer.c | 2 +- arch/mips/sgi-ip32/ip32-irq.c | 2 -- arch/mips/sni/irq.c | 2 +- arch/mips/sni/time.c | 2 +- arch/mips/txx9/generic/pci.c | 2 +- arch/mn10300/kernel/cevt-mn10300.c | 2 +- arch/mn10300/kernel/mn10300-serial.c | 6 +++--- arch/mn10300/kernel/smp.c | 1 - arch/mn10300/unit-asb2364/irq-fpga.c | 2 +- arch/parisc/include/asm/floppy.h | 4 ++-- arch/parisc/kernel/irq.c | 4 ++-- arch/powerpc/include/asm/floppy.h | 4 ++-- arch/powerpc/include/asm/xics.h | 4 ++-- arch/powerpc/kernel/smp.c | 2 +- arch/powerpc/platforms/cell/beat.c | 2 +- arch/powerpc/platforms/cell/celleb_scc_pciex.c | 2 +- arch/powerpc/platforms/cell/iommu.c | 3 +-- arch/powerpc/platforms/cell/pmu.c | 2 +- arch/powerpc/platforms/cell/spu_base.c | 9 +++------ arch/powerpc/platforms/powermac/pic.c | 1 - arch/powerpc/platforms/powermac/smp.c | 4 ++-- arch/powerpc/platforms/ps3/device-init.c | 2 +- arch/powerpc/sysdev/mpic.c | 2 -- arch/powerpc/sysdev/ppc4xx_soc.c | 2 +- arch/powerpc/sysdev/xics/xics-common.c | 5 ++--- arch/score/kernel/time.c | 2 +- arch/sh/boards/board-secureedge5410.c | 3 +-- arch/sh/boards/mach-cayman/irq.c | 2 -- arch/sh/boards/mach-hp6xx/hp6xx_apm.c | 2 +- arch/sh/drivers/dma/dma-g2.c | 2 +- arch/sh/drivers/dma/dma-pvr2.c | 1 - arch/sh/drivers/dma/dma-sh.c | 4 ++-- arch/sh/drivers/dma/dmabrg.c | 6 +++--- arch/sh/drivers/pci/pci-sh5.c | 4 ++-- arch/sh/drivers/pci/pci-sh7780.c | 2 +- arch/sh/drivers/push-switch.c | 2 +- arch/sh/kernel/cpu/sh4a/smp-shx3.c | 2 +- arch/sparc/include/asm/floppy_64.h | 2 +- arch/sparc/kernel/ldc.c | 4 ++-- arch/um/drivers/line.c | 8 ++++---- arch/um/drivers/mconsole_kern.c | 2 +- arch/um/drivers/net_kern.c | 2 +- arch/um/drivers/port_kern.c | 4 ++-- arch/um/drivers/random.c | 2 +- arch/um/drivers/ubd_kern.c | 2 +- arch/um/drivers/xterm_kern.c | 2 +- arch/um/kernel/sigio.c | 2 +- arch/um/kernel/time.c | 2 +- arch/unicore32/kernel/puv3-nb0916.c | 4 ++-- arch/unicore32/kernel/time.c | 2 +- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- arch/x86/xen/smp.c | 8 ++++---- arch/x86/xen/spinlock.c | 2 +- arch/x86/xen/time.c | 5 ++--- arch/xtensa/kernel/time.c | 1 - drivers/block/cciss.c | 4 ++-- drivers/block/cpqarray.c | 2 +- drivers/block/hd.c | 7 +------ drivers/block/mg_disk.c | 2 +- drivers/cdrom/gdrom.c | 4 ++-- drivers/char/hpet.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 4 ++-- drivers/char/nwbutton.c | 2 +- drivers/char/rtc.c | 4 ++-- drivers/char/snsc.c | 2 +- drivers/char/snsc_event.c | 2 +- drivers/char/tlclk.c | 2 +- drivers/clocksource/cs5535-clockevt.c | 2 +- drivers/clocksource/dw_apb_timer.c | 3 +-- drivers/clocksource/sh_cmt.c | 2 +- drivers/clocksource/sh_mtu2.c | 2 +- drivers/clocksource/sh_tmu.c | 2 +- drivers/clocksource/tcb_clksrc.c | 2 +- drivers/crypto/mv_cesa.c | 3 +-- drivers/dma/amba-pl08x.c | 2 +- drivers/dma/coh901318.c | 2 +- drivers/dma/shdma.c | 4 ++-- drivers/edac/mpc85xx_edac.c | 6 +++--- drivers/edac/mv64x60_edac.c | 8 ++++---- drivers/edac/ppc4xx_edac.c | 4 ++-- drivers/isdn/hardware/eicon/divasmain.c | 2 +- drivers/isdn/sc/init.c | 2 +- drivers/media/common/saa7146_core.c | 2 +- drivers/media/dvb/bt8xx/bt878.c | 2 +- drivers/media/radio/si4713-i2c.c | 2 +- drivers/media/rc/winbond-cir.c | 2 +- drivers/media/video/bt8xx/bttv-driver.c | 2 +- drivers/media/video/cx18/cx18-driver.c | 2 +- drivers/media/video/cx23885/cx23885-core.c | 2 +- drivers/media/video/cx88/cx88-alsa.c | 2 +- drivers/media/video/cx88/cx88-mpeg.c | 2 +- drivers/media/video/cx88/cx88-video.c | 2 +- drivers/media/video/davinci/vpbe_display.c | 2 +- drivers/media/video/davinci/vpfe_capture.c | 4 ++-- drivers/media/video/davinci/vpif_capture.c | 2 +- drivers/media/video/davinci/vpif_display.c | 2 +- drivers/media/video/ivtv/ivtv-driver.c | 2 +- drivers/media/video/meye.c | 2 +- drivers/media/video/s5p-mfc/s5p_mfc.c | 3 +-- drivers/media/video/saa7134/saa7134-alsa.c | 2 +- drivers/media/video/saa7134/saa7134-core.c | 2 +- drivers/media/video/saa7164/saa7164-core.c | 2 +- drivers/media/video/sh_mobile_ceu_camera.c | 2 +- drivers/media/video/zoran/zoran_card.c | 2 +- drivers/misc/arm-charlcd.c | 2 +- drivers/misc/phantom.c | 2 +- drivers/mtd/nand/mxc_nand.c | 2 +- drivers/mtd/nand/pxa3xx_nand.c | 3 +-- drivers/mtd/nand/tmio_nand.c | 2 +- drivers/net/ethernet/adi/bfin_mac.c | 4 ++-- drivers/net/ethernet/amd/sun3lance.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 4 ++-- drivers/net/ethernet/dec/tulip/de4x5.c | 2 +- drivers/net/ethernet/freescale/fec.c | 2 +- drivers/net/ethernet/hp/hp100.c | 2 +- drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 +++--- drivers/net/ethernet/korina.c | 8 ++++---- drivers/net/ethernet/lantiq_etop.c | 4 ++-- drivers/net/ethernet/marvell/pxa168_eth.c | 2 +- drivers/net/ethernet/micrel/ks8851_mll.c | 2 +- drivers/net/ethernet/natsemi/jazzsonic.c | 2 +- drivers/net/ethernet/natsemi/xtsonic.c | 2 +- drivers/net/ethernet/pasemi/pasemi_mac.c | 4 ++-- drivers/net/ethernet/smsc/smc91x.h | 2 +- drivers/net/ethernet/smsc/smsc9420.c | 2 +- drivers/net/ethernet/ti/davinci_emac.c | 2 +- drivers/net/ethernet/toshiba/ps3_gelic_net.c | 2 +- drivers/net/hamradio/baycom_ser_fdx.c | 2 +- drivers/net/hamradio/baycom_ser_hdx.c | 2 +- drivers/net/hamradio/scc.c | 2 +- drivers/net/hamradio/yam.c | 2 +- drivers/net/irda/bfin_sir.c | 4 ++-- drivers/net/irda/donauboe.c | 4 ++-- drivers/net/irda/sh_irda.c | 2 +- drivers/net/irda/sh_sir.c | 2 +- drivers/net/wan/hostess_sv11.c | 2 +- drivers/net/wan/sealevel.c | 2 +- drivers/net/wireless/p54/p54spi.c | 2 +- drivers/parisc/superio.c | 2 +- drivers/pcmcia/db1xxx_ss.c | 4 ++-- drivers/pcmcia/soc_common.c | 2 +- drivers/platform/x86/sony-laptop.c | 2 +- drivers/pnp/resource.c | 2 +- drivers/power/wm97xx_battery.c | 2 +- drivers/power/z2_battery.c | 2 +- drivers/ps3/ps3-vuart.c | 2 +- drivers/ps3/ps3stor_lib.c | 2 +- drivers/rtc/rtc-at91sam9.c | 2 +- drivers/rtc/rtc-cmos.c | 2 +- drivers/rtc/rtc-coh901331.c | 2 +- drivers/rtc/rtc-davinci.c | 2 +- drivers/rtc/rtc-ds1511.c | 2 +- drivers/rtc/rtc-ds1553.c | 2 +- drivers/rtc/rtc-lpc32xx.c | 2 +- drivers/rtc/rtc-mpc5121.c | 4 ++-- drivers/rtc/rtc-mrst.c | 2 +- drivers/rtc/rtc-mv.c | 2 +- drivers/rtc/rtc-nuc900.c | 2 +- drivers/rtc/rtc-omap.c | 4 ++-- drivers/rtc/rtc-pl030.c | 2 +- drivers/rtc/rtc-pl031.c | 2 +- drivers/rtc/rtc-puv3.c | 4 ++-- drivers/rtc/rtc-pxa.c | 4 ++-- drivers/rtc/rtc-s3c.c | 4 ++-- drivers/rtc/rtc-sa1100.c | 4 ++-- drivers/rtc/rtc-sh.c | 8 ++++---- drivers/rtc/rtc-stk17ta8.c | 2 +- drivers/rtc/rtc-tx4939.c | 2 +- drivers/rtc/rtc-vr41xx.c | 4 ++-- drivers/scsi/NCR5380.c | 2 +- drivers/scsi/aacraid/rx.c | 2 +- drivers/scsi/aacraid/sa.c | 2 +- drivers/scsi/aacraid/src.c | 2 +- drivers/scsi/aha152x.c | 4 ++-- drivers/scsi/aic7xxx_old.c | 2 +- drivers/scsi/arm/acornscsi.c | 2 +- drivers/scsi/arm/cumana_1.c | 2 +- drivers/scsi/arm/cumana_2.c | 2 +- drivers/scsi/arm/powertec.c | 2 +- drivers/scsi/dtc.c | 2 +- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- drivers/scsi/g_NCR5380.c | 2 +- drivers/scsi/gdth.c | 6 +++--- drivers/scsi/hpsa.c | 4 ++-- drivers/scsi/ibmvscsi/ibmvstgt.c | 2 +- drivers/scsi/in2000.c | 2 +- drivers/scsi/initio.c | 2 +- drivers/scsi/pas16.c | 2 +- drivers/scsi/pm8001/pm8001_init.c | 4 +--- drivers/scsi/t128.c | 2 +- drivers/scsi/u14-34f.c | 2 +- drivers/scsi/wd7000.c | 2 +- drivers/spi/spi-bfin5xx.c | 2 +- drivers/spi/spi-coldfire-qspi.c | 2 +- drivers/spi/spi-ppc4xx.c | 2 +- drivers/spi/spi-sh-msiof.c | 2 +- drivers/spi/spi-sh.c | 2 +- drivers/usb/core/hcd.c | 15 --------------- drivers/usb/host/ehci-pxa168.c | 2 +- drivers/usb/host/ohci-xls.c | 2 +- drivers/w1/masters/ds1wm.c | 2 +- drivers/w1/masters/omap_hdq.c | 2 +- drivers/watchdog/coh901327_wdt.c | 2 +- drivers/watchdog/eurotechwdt.c | 2 +- drivers/watchdog/mpcore_wdt.c | 3 +-- drivers/watchdog/octeon-wdt-main.c | 2 +- drivers/watchdog/sb_wdog.c | 4 ++-- drivers/watchdog/wdt.c | 2 +- drivers/watchdog/wdt_pci.c | 2 +- drivers/xen/evtchn.c | 2 +- drivers/xen/platform-pci.c | 2 +- include/linux/interrupt.h | 3 --- include/net/irda/irda_device.h | 2 +- 375 files changed, 463 insertions(+), 561 deletions(-)
PATCH v3 1/49 usb/hcd: Remove tricky code dealing with IRQF_DISABLED && IRQF_SHARED
Now, genirq keep irqs disabled when calling the action handler, we don't need to disable irq by ourselves anymore.
--- drivers/usb/core/hcd.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-)
drivers/usb/core/hcd.c +0 -15
@@ -2125,15 +2125,8 @@ EXPORT_SYMBOL_GPL(usb_bus_start_enum);irqreturn_t usb_hcd_irq (int irq,void *__hcd) {struct usb_hcd *hcd = __hcd; -unsigned long flags;irqreturn_t rc; -/* IRQF_DISABLED doesn't work correctly with shared IRQs -* when the first handler doesn't use it. So let's just -* assume it's never used. -*/ -local_irq_save (flags); -if (unlikely (HCD_DEAD (hcd) || !HCD_HW_ACCESSIBLE (hcd))) { rc =IRQ_NONE ; }else if (hcd->driver->irq (hcd) ==IRQ_NONE ) {
@@ -2145,7 +2138,6 @@ irqreturn_t usb_hcd_irq (int irq, void *__hcd) rc =IRQ_HANDLED ; } -local_irq_restore (flags);return rc; }EXPORT_SYMBOL_GPL (usb_hcd_irq);
@@ -2334,13 +2326,6 @@ static int usb_hcd_request_irqs(struct usb_hcd *hcd,if (hcd->driver->irq) { -/* IRQF_DISABLED doesn't work as advertised when used together -* with IRQF_SHARED. As usb_hcd_irq() will always disable -* interrupts we can remove it here. -*/ -if (irqflags &IRQF_SHARED ) - irqflags &= ~IRQF_DISABLED ; -snprintf (hcd->irq_descr,sizeof (hcd->irq_descr),"%s:usb%d" , hcd->driver->description, hcd->self.busnum); retval = request_irq(irqnum, &usb_hcd_irq, irqflags,
Signature · 1 line
1.7.1
PATCH v3 2/49 alpha: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/alpha/include/asm/floppy.h | 2 +- arch/alpha/kernel/irq_alpha.c | 1 - arch/alpha/kernel/sys_titan.c | 14 +++++++------- 3 files changed, 8 insertions(+), 9 deletions(-)
arch/alpha/include/asm/floppy.h +1 -1
@@ -26,7 +26,7 @@#define fd_disable_irq () disable_irq(FLOPPY_IRQ)#define fd_cacheflush (addr,size)/* nothing */ #define fd_request_irq () request_irq(FLOPPY_IRQ, floppy_interrupt,\ - IRQF_DISABLED, "floppy", NULL) + 0, "floppy", NULL)#define fd_free_irq () free_irq(FLOPPY_IRQ, NULL)#ifdef CONFIG_PCI
arch/alpha/kernel/irq_alpha.c +0 -1
@@ -221,7 +221,6 @@ process_mcheck_info(unsigned long vector, unsigned long la_ptr,struct irqaction timer_irqaction = { .handler = timer_interrupt, - .flags =IRQF_DISABLED , .name ="timer" , };
arch/alpha/kernel/sys_titan.c +7 -7
@@ -281,15 +281,15 @@ titan_late_init(void)* all reported to the kernel as machine checks, so the handler * is a nop so it can be called to count the individual events. */ -titan_request_irq (63 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (63 +16 , titan_intr_nop,0 ,"CChip Error" ,NULL ); -titan_request_irq (62 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (62 +16 , titan_intr_nop,0 ,"PChip 0 H_Error" ,NULL ); -titan_request_irq (61 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (61 +16 , titan_intr_nop,0 ,"PChip 1 H_Error" ,NULL ); -titan_request_irq (60 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (60 +16 , titan_intr_nop,0 ,"PChip 0 C_Error" ,NULL ); -titan_request_irq (59 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (59 +16 , titan_intr_nop,0 ,"PChip 1 C_Error" ,NULL );/*
@@ -348,9 +348,9 @@ privateer_init_pci(void)* Hook a couple of extra err interrupts that the * common titan code won't. */ -titan_request_irq (53 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (53 +16 , titan_intr_nop,0 ,"NMI" ,NULL ); -titan_request_irq (50 +16 , titan_intr_nop,IRQF_DISABLED , +titan_request_irq (50 +16 , titan_intr_nop,0 ,"Temperature Warning" ,NULL );/*
Signature · 1 line
1.7.1
PATCH v3 3/49 arm: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/arm/common/time-acorn.c | 1 - arch/arm/common/timer-sp.c | 2 +- arch/arm/include/asm/floppy.h | 2 +- arch/arm/kernel/perf_event.c | 2 +- arch/arm/mach-at91/at91rm9200_time.c | 2 +- arch/arm/mach-at91/at91sam926x_time.c | 2 +- arch/arm/mach-at91/at91x40_time.c | 2 +- arch/arm/mach-bcmring/dma.c | 2 +- arch/arm/mach-clps711x/time.c | 2 +- arch/arm/mach-cns3xxx/core.c | 2 +- arch/arm/mach-davinci/board-da830-evm.c | 2 +- arch/arm/mach-davinci/board-omapl138-hawk.c | 2 +- arch/arm/mach-davinci/time.c | 4 ++-- arch/arm/mach-ebsa110/core.c | 2 +- arch/arm/mach-ep93xx/core.c | 2 +- arch/arm/mach-footbridge/dc21285-timer.c | 2 +- arch/arm/mach-footbridge/dc21285.c | 10 +++++----- arch/arm/mach-footbridge/isa-timer.c | 2 +- arch/arm/mach-gemini/time.c | 2 +- arch/arm/mach-h720x/cpu-h7201.c | 2 +- arch/arm/mach-h720x/cpu-h7202.c | 2 +- arch/arm/mach-imx/mach-armadillo5x0.c | 2 +- arch/arm/mach-imx/mach-mx31_3ds.c | 2 +- arch/arm/mach-imx/mach-pca100.c | 2 +- arch/arm/mach-imx/mach-pcm037.c | 2 +- arch/arm/mach-imx/mx31lilly-db.c | 2 +- arch/arm/mach-integrator/integrator_ap.c | 2 +- arch/arm/mach-ixp2000/core.c | 2 +- arch/arm/mach-ixp23xx/core.c | 2 +- arch/arm/mach-ixp4xx/common.c | 2 +- arch/arm/mach-ixp4xx/dsmg600-setup.c | 2 +- arch/arm/mach-ixp4xx/fsg-setup.c | 4 ++-- arch/arm/mach-ixp4xx/nas100d-setup.c | 2 +- arch/arm/mach-ixp4xx/nslu2-setup.c | 4 ++-- arch/arm/mach-ks8695/time.c | 2 +- arch/arm/mach-lpc32xx/timer.c | 2 +- arch/arm/mach-mmp/time.c | 2 +- arch/arm/mach-msm/timer.c | 4 ++-- arch/arm/mach-netx/time.c | 2 +- arch/arm/mach-omap1/fpga.c | 4 ++-- arch/arm/mach-omap1/pm.c | 1 - arch/arm/mach-omap1/time.c | 2 +- arch/arm/mach-omap1/timer32k.c | 2 +- arch/arm/mach-omap2/omap_l3_noc.c | 4 ++-- arch/arm/mach-omap2/omap_l3_smx.c | 4 ++-- arch/arm/mach-omap2/pm34xx.c | 2 +- arch/arm/mach-omap2/timer.c | 2 +- arch/arm/mach-pnx4008/time.c | 2 +- arch/arm/mach-pxa/am200epd.c | 2 +- arch/arm/mach-pxa/am300epd.c | 2 +- arch/arm/mach-pxa/em-x270.c | 2 +- arch/arm/mach-pxa/magician.c | 2 +- arch/arm/mach-pxa/mainstone.c | 2 +- arch/arm/mach-pxa/pcm990-baseboard.c | 2 +- arch/arm/mach-pxa/sharpsl_pm.c | 8 ++++---- arch/arm/mach-pxa/time.c | 2 +- arch/arm/mach-pxa/trizeps4.c | 2 +- arch/arm/mach-rpc/dma.c | 2 +- arch/arm/mach-s3c2410/usb-simtec.c | 2 +- arch/arm/mach-s3c64xx/mach-smartq.c | 2 +- arch/arm/mach-sa1100/dma.c | 2 +- arch/arm/mach-sa1100/time.c | 2 +- arch/arm/mach-shark/core.c | 2 +- arch/arm/mach-tcc8k/time.c | 2 +- arch/arm/mach-tegra/timer.c | 2 +- arch/arm/mach-u300/timer.c | 2 +- arch/arm/mach-vt8500/timer.c | 2 +- arch/arm/mach-w90x900/time.c | 2 +- arch/arm/mach-zynq/timer.c | 2 +- arch/arm/plat-iop/time.c | 2 +- arch/arm/plat-mxc/Kconfig | 2 +- arch/arm/plat-mxc/epit.c | 2 +- arch/arm/plat-mxc/time.c | 2 +- arch/arm/plat-nomadik/timer.c | 2 +- arch/arm/plat-omap/dma.c | 1 - arch/arm/plat-orion/time.c | 2 +- arch/arm/plat-pxa/dma.c | 2 +- arch/arm/plat-s3c24xx/dma.c | 2 +- arch/arm/plat-s5p/s5p-time.c | 2 +- arch/arm/plat-s5p/sysmmu.c | 2 +- arch/arm/plat-samsung/time.c | 2 +- arch/arm/plat-spear/time.c | 2 +- 82 files changed, 93 insertions(+), 96 deletions(-)
arch/arm/common/time-acorn.c +0 -1
@@ -75,7 +75,6 @@ ioc_timer_interrupt(int irq, void *dev_id)static struct irqaction ioc_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED , .handler = ioc_timer_interrupt };
arch/arm/common/timer-sp.c +1 -1
@@ -153,7 +153,7 @@ static struct clock_event_device sp804_clockevent = {static struct irqaction sp804_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = sp804_timer_interrupt, .dev_id = &sp804_clockevent, };
arch/arm/include/asm/floppy.h +1 -1
@@ -25,7 +25,7 @@#define fd_inb (port) inb((port))#define fd_request_irq () request_irq(IRQ_FLOPPYDISK,floppy_interrupt,\ - IRQF_DISABLED,"floppy",NULL) + 0,"floppy",NULL)#define fd_free_irq () free_irq(IRQ_FLOPPYDISK,NULL)#define fd_disable_irq () disable_irq(IRQ_FLOPPYDISK)#define fd_enable_irq () enable_irq(IRQ_FLOPPYDISK)
arch/arm/kernel/perf_event.c +1 -1
@@ -432,7 +432,7 @@ armpmu_reserve_hardware(struct arm_pmu *armpmu) } err =request_irq (irq, handle_irq, -IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_NOBALANCING ,"arm-pmu" , armpmu);if (err) { pr_err("unable to request IRQ%d for ARM PMU counters\n",
arch/arm/mach-at91/at91rm9200_time.c +1 -1
@@ -87,7 +87,7 @@ static irqreturn_t at91rm9200_timer_interrupt(int irq, void *dev_id)static struct irqaction at91rm9200_timer_irq = { .name ="at91_tick" , - .flags =IRQF_SHARED |IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_SHARED |IRQF_TIMER |IRQF_IRQPOLL , .handler = at91rm9200_timer_interrupt };
arch/arm/mach-at91/at91sam926x_time.c +1 -1
@@ -122,7 +122,7 @@ static irqreturn_t at91sam926x_pit_interrupt(int irq, void *dev_id)static struct irqaction at91sam926x_pit_irq = { .name ="at91_tick" , - .flags =IRQF_SHARED |IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_SHARED |IRQF_TIMER |IRQF_IRQPOLL , .handler = at91sam926x_pit_interrupt };
arch/arm/mach-at91/at91x40_time.c +1 -1
@@ -49,7 +49,7 @@ static irqreturn_t at91x40_timer_interrupt(int irq, void *dev_id)static struct irqaction at91x40_timer_irq = { .name ="at91_tick" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = at91x40_timer_interrupt };
arch/arm/mach-bcmring/dma.c +1 -1
@@ -823,7 +823,7 @@ int dma_init(void) DMA_NUM_CHANNELS) + channelIdx, dma_interrupt_handler, -IRQF_DISABLED , channel->name, +0 , channel->name, channel);if (rc !=0 ) { printk(KERN_ERR
arch/arm/mach-clps711x/time.c +1 -1
@@ -56,7 +56,7 @@ p720t_timer_interrupt(int irq, void *dev_id)static struct irqaction clps711x_timer_irq = { .name ="CLPS711x Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = p720t_timer_interrupt, };
arch/arm/mach-cns3xxx/core.c +1 -1
@@ -176,7 +176,7 @@ static irqreturn_t cns3xxx_timer_interrupt(int irq, void *dev_id)static struct irqaction cns3xxx_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = cns3xxx_timer_interrupt, };
arch/arm/mach-davinci/board-da830-evm.c +1 -1
@@ -74,7 +74,7 @@ static int da830_evm_usb_ocic_notify(da8xx_ocic_handler_t handler)if (handler !=NULL ) { da830_evm_usb_ocic_handler = handler; - error =request_irq (irq, da830_evm_usb_ocic_irq,IRQF_DISABLED | + error =request_irq (irq, da830_evm_usb_ocic_irq,IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"OHCI over-current indicator" ,NULL );if (error)
arch/arm/mach-davinci/board-omapl138-hawk.c +1 -1
@@ -216,7 +216,7 @@ static int hawk_usb_ocic_notify(da8xx_ocic_handler_t handler) hawk_usb_ocic_handler = handler; error =request_irq (irq, omapl138_hawk_usb_ocic_irq, -IRQF_DISABLED |IRQF_TRIGGER_RISING | +IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"OHCI over-current indicator" ,NULL );if (error)
arch/arm/mach-davinci/time.c +2 -2
@@ -178,7 +178,7 @@ static struct timer_s timers[] = { .name = "clockevent", .opts = TIMER_OPTS_DISABLED, .irqaction = { - .flags = IRQF_DISABLED | IRQF_TIMER, + .flags = IRQF_TIMER, .handler = timer_interrupt, } },
@@ -187,7 +187,7 @@ static struct timer_s timers[] = { .period = ~0, .opts = TIMER_OPTS_PERIODIC, .irqaction = { - .flags = IRQF_DISABLED | IRQF_TIMER, + .flags = IRQF_TIMER, .handler = freerun_interrupt, } },
arch/arm/mach-ebsa110/core.c +1 -1
@@ -195,7 +195,7 @@ ebsa110_timer_interrupt(int irq, void *dev_id)static struct irqaction ebsa110_timer_irq = { .name ="EBSA110 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = ebsa110_timer_interrupt, };
arch/arm/mach-ep93xx/core.c +1 -1
@@ -135,7 +135,7 @@ static irqreturn_t ep93xx_timer_interrupt(int irq, void *dev_id)static struct irqaction ep93xx_timer_irq = { .name ="ep93xx timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = ep93xx_timer_interrupt, };
arch/arm/mach-footbridge/dc21285-timer.c +1 -1
@@ -85,7 +85,7 @@ static irqreturn_t timer1_interrupt(int irq, void *dev_id)static struct irqaction footbridge_timer_irq = { .name ="dc21285_timer1" , .handler = timer1_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .dev_id = &ckevt_dc21285, };
arch/arm/mach-footbridge/dc21285.c +5 -5
@@ -342,15 +342,15 @@ void __init dc21285_preinit(void)/* * We don't care if these fail. */ -dc21285_request_irq (IRQ_PCI_SERR , dc21285_serr_irq,IRQF_DISABLED , +dc21285_request_irq (IRQ_PCI_SERR , dc21285_serr_irq,0 ,"PCI system error" , &serr_timer); -dc21285_request_irq (IRQ_PCI_PERR , dc21285_parity_irq,IRQF_DISABLED , +dc21285_request_irq (IRQ_PCI_PERR , dc21285_parity_irq,0 ,"PCI parity error" , &perr_timer); -dc21285_request_irq (IRQ_PCI_ABORT , dc21285_abort_irq,IRQF_DISABLED , +dc21285_request_irq (IRQ_PCI_ABORT , dc21285_abort_irq,0 ,"PCI abort" ,NULL ); -dc21285_request_irq (IRQ_DISCARD_TIMER , dc21285_discard_irq,IRQF_DISABLED , +dc21285_request_irq (IRQ_DISCARD_TIMER , dc21285_discard_irq,0 ,"Discard timer" ,NULL ); -dc21285_request_irq (IRQ_PCI_DPERR , dc21285_dparity_irq,IRQF_DISABLED , +dc21285_request_irq (IRQ_PCI_DPERR , dc21285_dparity_irq,0 ,"PCI data parity" ,NULL );if (cfn_mode) {
arch/arm/mach-footbridge/isa-timer.c +1 -1
@@ -27,7 +27,7 @@ static irqreturn_t pit_timer_interrupt(int irq, void *dev_id)static struct irqaction pit_timer_irq = { .name ="pit" , .handler = pit_timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .dev_id = &i8253_clockevent, };
arch/arm/mach-gemini/time.c +1 -1
@@ -45,7 +45,7 @@ static irqreturn_t gemini_timer_interrupt(int irq, void *dev_id)static struct irqaction gemini_timer_irq = { .name ="Gemini Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = gemini_timer_interrupt, };
arch/arm/mach-h720x/cpu-h7201.c +1 -1
@@ -37,7 +37,7 @@ h7201_timer_interrupt(int irq, void *dev_id)static struct irqaction h7201_timer_irq = { .name ="h7201 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = h7201_timer_interrupt, };
arch/arm/mach-h720x/cpu-h7202.c +1 -1
@@ -171,7 +171,7 @@ static struct irq_chip h7202_timerx_chip = {static struct irqaction h7202_timer_irq = { .name ="h7202 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = h7202_timer_interrupt, };
arch/arm/mach-imx/mach-armadillo5x0.c +1 -1
@@ -407,7 +407,7 @@ static int armadillo5x0_sdhc1_init(struct device *dev,/* When supported the trigger type have to be BOTH */ ret =request_irq (IOMUX_TO_IRQ (MX31_PIN_ATA_DMACK ), detect_irq, -IRQF_DISABLED |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_FALLING ,"sdhc-detect" , data);if (ret)
arch/arm/mach-imx/mach-mx31_3ds.c +1 -1
@@ -312,7 +312,7 @@ static int mx31_3ds_sdhc1_init(struct device *dev, } ret =request_irq (IOMUX_TO_IRQ (MX31_PIN_GPIO3_1 ), - detect_irq,IRQF_DISABLED | + detect_irq,IRQF_TRIGGER_FALLING |IRQF_TRIGGER_RISING ,"sdhc1-detect" , data);if (ret) {
arch/arm/mach-imx/mach-pca100.c +1 -1
@@ -247,7 +247,7 @@ static int pca100_sdhc2_init(struct device *dev, irq_handler_t detect_irq,int ret; ret =request_irq (IRQ_GPIOC (29 ), detect_irq, -IRQF_DISABLED |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_FALLING ,"imx-mmc-detect" , data);if (ret) printk(KERN_ERR
arch/arm/mach-imx/mach-pcm037.c +1 -1
@@ -369,7 +369,7 @@ static int pcm970_sdhc1_init(struct device *dev, irq_handler_t detect_irq,#endif ret =request_irq (IOMUX_TO_IRQ (MX31_PIN_SCK6 ), detect_irq, -IRQF_DISABLED |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_FALLING ,"sdhc-detect" , data);if (ret) goto err_gpio_free_2;
arch/arm/mach-imx/mx31lilly-db.c +1 -1
@@ -131,7 +131,7 @@ static int mxc_mmc1_init(struct device *dev,gpio_direction_input (gpio_wp); ret =request_irq (IOMUX_TO_IRQ (MX31_PIN_GPIO1_1 ), detect_irq, -IRQF_DISABLED |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_FALLING ,"MMC detect" , data);if (ret) goto exit_free_wp;
arch/arm/mach-integrator/integrator_ap.c +1 -1
@@ -410,7 +410,7 @@ static struct clock_event_device integrator_clockevent = {static struct irqaction integrator_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = integrator_timer_interrupt, .dev_id = &integrator_clockevent, };
arch/arm/mach-ixp2000/core.c +1 -1
@@ -214,7 +214,7 @@ static irqreturn_t ixp2000_timer_interrupt(int irq, void *dev_id)static struct irqaction ixp2000_timer_irq = { .name ="IXP2000 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = ixp2000_timer_interrupt, };
arch/arm/mach-ixp23xx/core.c +1 -1
@@ -366,7 +366,7 @@ ixp23xx_timer_interrupt(int irq, void *dev_id)static struct irqaction ixp23xx_timer_irq = { .name ="IXP23xx Timer Tick" , .handler = ixp23xx_timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , };void __init ixp23xx_init_timer (void )
arch/arm/mach-ixp4xx/common.c +1 -1
@@ -280,7 +280,7 @@ static irqreturn_t ixp4xx_timer_interrupt(int irq, void *dev_id)static struct irqaction ixp4xx_timer_irq = { .name ="timer1" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = ixp4xx_timer_interrupt, .dev_id = &clockevent_ixp4xx, };
arch/arm/mach-ixp4xx/dsmg600-setup.c +1 -1
@@ -255,7 +255,7 @@ static void __init dsmg600_init(void) pm_power_off = dsmg600_power_off;if (request_irq (gpio_to_irq (DSMG600_RB_GPIO ), &dsmg600_reset_handler, -IRQF_DISABLED |IRQF_TRIGGER_LOW , +IRQF_TRIGGER_LOW ,"DSM-G600 reset button" ,NULL ) <0 ) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n",
arch/arm/mach-ixp4xx/fsg-setup.c +2 -2
@@ -208,7 +208,7 @@ static void __init fsg_init(void)platform_add_devices (fsg_devices,ARRAY_SIZE (fsg_devices));if (request_irq (gpio_to_irq (FSG_RB_GPIO ), &fsg_reset_handler, -IRQF_DISABLED |IRQF_TRIGGER_LOW , +IRQF_TRIGGER_LOW ,"FSG reset button" ,NULL ) <0 ) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n",
@@ -216,7 +216,7 @@ static void __init fsg_init(void) }if (request_irq (gpio_to_irq (FSG_SB_GPIO ), &fsg_power_handler, -IRQF_DISABLED |IRQF_TRIGGER_LOW , +IRQF_TRIGGER_LOW ,"FSG power button" ,NULL ) <0 ) { printk(KERN_DEBUG "Power Button IRQ %d not available\n",
arch/arm/mach-ixp4xx/nas100d-setup.c +1 -1
@@ -271,7 +271,7 @@ static void __init nas100d_init(void) pm_power_off = nas100d_power_off;if (request_irq (gpio_to_irq (NAS100D_RB_GPIO ), &nas100d_reset_handler, -IRQF_DISABLED |IRQF_TRIGGER_LOW , +IRQF_TRIGGER_LOW ,"NAS100D reset button" ,NULL ) <0 ) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n",
arch/arm/mach-ixp4xx/nslu2-setup.c +2 -2
@@ -262,7 +262,7 @@ static void __init nslu2_init(void) pm_power_off = nslu2_power_off;if (request_irq (gpio_to_irq (NSLU2_RB_GPIO ), &nslu2_reset_handler, -IRQF_DISABLED |IRQF_TRIGGER_LOW , +IRQF_TRIGGER_LOW ,"NSLU2 reset button" ,NULL ) <0 ) { printk(KERN_DEBUG "Reset Button IRQ %d not available\n",
@@ -270,7 +270,7 @@ static void __init nslu2_init(void) }if (request_irq (gpio_to_irq (NSLU2_PB_GPIO ), &nslu2_power_handler, -IRQF_DISABLED |IRQF_TRIGGER_HIGH , +IRQF_TRIGGER_HIGH ,"NSLU2 power button" ,NULL ) <0 ) { printk(KERN_DEBUG "Power Button IRQ %d not available\n",
arch/arm/mach-ks8695/time.c +1 -1
@@ -76,7 +76,7 @@ static irqreturn_t ks8695_timer_interrupt(int irq, void *dev_id)static struct irqaction ks8695_timer_irq = { .name ="ks8695_tick" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = ks8695_timer_interrupt, };
arch/arm/mach-lpc32xx/timer.c +1 -1
@@ -91,7 +91,7 @@ static irqreturn_t lpc32xx_timer_interrupt(int irq, void *dev_id)static struct irqaction lpc32xx_timer_irq = { .name ="LPC32XX Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = lpc32xx_timer_interrupt, };
arch/arm/mach-mmp/time.c +1 -1
@@ -192,7 +192,7 @@ static void __init timer_config(void)static struct irqaction timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = timer_interrupt, .dev_id = &ckevt, };
arch/arm/mach-msm/timer.c +2 -2
@@ -173,7 +173,7 @@ static struct msm_clock msm_clocks[] = { }, .irq = { .name = "gp_timer", - .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_TRIGGER_RISING, + .flags = IRQF_TIMER | IRQF_TRIGGER_RISING, .handler = msm_timer_interrupt, .dev_id = &msm_clocks[0 ].clockevent, .irq = INT_GP_TIMER_EXP
@@ -198,7 +198,7 @@ static struct msm_clock msm_clocks[] = { }, .irq = { .name = "dg_timer", - .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_TRIGGER_RISING, + .flags = IRQF_TIMER | IRQF_TRIGGER_RISING, .handler = msm_timer_interrupt, .dev_id = &msm_clocks[1 ].clockevent, .irq = INT_DEBUG_TIMER_EXP
arch/arm/mach-netx/time.c +1 -1
@@ -100,7 +100,7 @@ netx_timer_interrupt(int irq, void *dev_id)static struct irqaction netx_timer_irq = { .name ="NetX Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = netx_timer_interrupt, };
arch/arm/mach-omap1/fpga.c +2 -2
@@ -132,8 +132,8 @@ static struct irq_chip omap_fpga_irq = {* mask_ack routine for all of the FPGA interrupts has been changed from * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt * being serviced is left unmasked. We can do this because the FPGA cascade -* interrupt is installed with the IRQF_DISABLED flag, which leaves all -* interrupts masked at the CPU while an FPGA interrupt handler executes. +* interrupt leaves all interrupts masked@the CPU while an FPGA interrupt +* handler executes. * * Limited testing indicates that this workaround appears to be effective * for the smc9194 Ethernet driver used on the Innovator. It should work
arch/arm/mach-omap1/pm.c +0 -1
@@ -641,7 +641,6 @@ static irqreturn_t omap_wakeup_interrupt(int irq, void *dev)static struct irqaction omap_wakeup_irq = { .name ="peripheral wakeup" , - .flags =IRQF_DISABLED , .handler = omap_wakeup_interrupt };
arch/arm/mach-omap1/time.c +1 -1
@@ -163,7 +163,7 @@ static irqreturn_t omap_mpu_timer1_interrupt(int irq, void *dev_id)static struct irqaction omap_mpu_timer1_irq = { .name ="mpu_timer1" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = omap_mpu_timer1_interrupt, };
arch/arm/mach-omap1/timer32k.c +1 -1
@@ -155,7 +155,7 @@ static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id)static struct irqaction omap_32k_timer_irq = { .name ="32KHz timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = omap_32k_timer_interrupt, };
arch/arm/mach-omap2/omap_l3_noc.c +2 -2
@@ -180,7 +180,7 @@ static int __init omap4_l3_probe(struct platform_device *pdev) irq =platform_get_irq (pdev,0 ); ret =request_irq (irq, l3_interrupt_handler, -IRQF_DISABLED ,"l3-dbg-irq" , l3); +0 ,"l3-dbg-irq" , l3);if (ret) {pr_crit ("L3: request_irq failed to register for 0x%x\n" ,OMAP44XX_IRQ_L3_DBG );
@@ -191,7 +191,7 @@ static int __init omap4_l3_probe(struct platform_device *pdev) irq =platform_get_irq (pdev,1 ); ret =request_irq (irq, l3_interrupt_handler, -IRQF_DISABLED ,"l3-app-irq" , l3); +0 ,"l3-app-irq" , l3);if (ret) {pr_crit ("L3: request_irq failed to register for 0x%x\n" ,OMAP44XX_IRQ_L3_APP );
arch/arm/mach-omap2/omap_l3_smx.c +2 -2
@@ -240,7 +240,7 @@ static int __init omap3_l3_probe(struct platform_device *pdev) l3->debug_irq =platform_get_irq (pdev,0 ); ret =request_irq (l3->debug_irq, omap3_l3_app_irq, -IRQF_DISABLED |IRQF_TRIGGER_RISING , +IRQF_TRIGGER_RISING ,"l3-debug-irq" , l3);if (ret) {dev_err (&pdev->dev,"couldn't request debug irq\n" );
@@ -249,7 +249,7 @@ static int __init omap3_l3_probe(struct platform_device *pdev) l3->app_irq =platform_get_irq (pdev,1 ); ret =request_irq (l3->app_irq, omap3_l3_app_irq, -IRQF_DISABLED |IRQF_TRIGGER_RISING , +IRQF_TRIGGER_RISING ,"l3-app-irq" , l3);if (ret) {dev_err (&pdev->dev,"couldn't request app irq\n" );
arch/arm/mach-omap2/pm34xx.c +1 -1
@@ -878,7 +878,7 @@ static int __init omap3_pm_init(void) ret =request_irq (INT_34XX_PRCM_MPU_IRQ , (irq_handler_t )prcm_interrupt_handler, -IRQF_DISABLED ,"prcm" ,NULL ); +0 ,"prcm" ,NULL );if (ret) {printk (KERN_ERR "request_irq failed to register for 0x%x\n" ,INT_34XX_PRCM_MPU_IRQ );
arch/arm/mach-omap2/timer.c +1 -1
@@ -91,7 +91,7 @@ static irqreturn_t omap2_gp_timer_interrupt(int irq, void *dev_id)static struct irqaction omap2_gp_timer_irq = { .name ="gp timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = omap2_gp_timer_interrupt, };
arch/arm/mach-pnx4008/time.c +1 -1
@@ -80,7 +80,7 @@ static irqreturn_t pnx4008_timer_interrupt(int irq, void *dev_id)static struct irqaction pnx4008_timer_irq = { .name ="PNX4008 Tick Timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = pnx4008_timer_interrupt };
arch/arm/mach-pxa/am200epd.c +1 -1
@@ -293,7 +293,7 @@ static int am200_setup_irq(struct fb_info *info)int ret; ret =request_irq (IRQ_GPIO (RDY_GPIO_PIN ), am200_handle_irq, -IRQF_DISABLED |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_FALLING ,"AM200" , info->par);if (ret)dev_err (&am200_device->dev,"request_irq failed: %d\n" , ret);
arch/arm/mach-pxa/am300epd.c +1 -1
@@ -241,7 +241,7 @@ static int am300_setup_irq(struct fb_info *info)struct broadsheetfb_par *par = info->par; ret =request_irq (IRQ_GPIO (RDY_GPIO_PIN ), am300_handle_irq, -IRQF_DISABLED |IRQF_TRIGGER_RISING , +IRQF_TRIGGER_RISING ,"AM300" , par);if (ret)dev_err (&am300_device->dev,"request_irq failed: %d\n" , ret);
arch/arm/mach-pxa/em-x270.c +1 -1
@@ -559,7 +559,7 @@ static int em_x270_mci_init(struct device *dev, } err =request_irq (gpio_to_irq (mmc_cd), em_x270_detect_int, -IRQF_DISABLED |IRQF_TRIGGER_RISING | +IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"MMC card detect" , data);if (err) {
arch/arm/mach-pxa/magician.c +1 -1
@@ -618,7 +618,7 @@ static int magician_mci_init(struct device *dev, irq_handler_t detect_irq, void *data) { return request_irq(IRQ_MAGICIAN_SD, detect_irq, - IRQF_DISABLED | IRQF_SAMPLE_RANDOM, +IRQF_SAMPLE_RANDOM , "mmc card detect", data); }
arch/arm/mach-pxa/mainstone.c +1 -1
@@ -398,7 +398,7 @@ static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_in*/ MST_MSCWR1 &= ~MST_MSCWR1_MS_SEL ; - err =request_irq (MAINSTONE_MMC_IRQ , mstone_detect_int,IRQF_DISABLED , + err =request_irq (MAINSTONE_MMC_IRQ , mstone_detect_int,0 ,"MMC card detect" , data);if (err)printk (KERN_ERR "mainstone_mci_init: MMC/SD: can't request MMC card detect IRQ\n" );
arch/arm/mach-pxa/pcm990-baseboard.c +1 -1
@@ -297,7 +297,7 @@ static int pcm990_mci_init(struct device *dev, irq_handler_t mci_detect_int, {int err; - err =request_irq (PCM027_MMCDET_IRQ , mci_detect_int,IRQF_DISABLED , + err =request_irq (PCM027_MMCDET_IRQ , mci_detect_int,0 ,"MMC card detect" , data);if (err) printk(KERN_ERR "pcm990_mci_init: MMC/SD: can't request MMC "
arch/arm/mach-pxa/sharpsl_pm.c +4 -4
@@ -907,23 +907,23 @@ static int __devinit sharpsl_pm_probe(struct platform_device *pdev)gpio_direction_input (sharpsl_pm.machinfo->gpio_batlock);/* Register interrupt handlers */ -if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr,IRQF_DISABLED |IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"AC Input Detect" , sharpsl_ac_isr)) { +if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr,IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"AC Input Detect" , sharpsl_ac_isr)) {dev_err (sharpsl_pm.dev,"Could not get irq %d.\n" ,IRQ_GPIO (sharpsl_pm.machinfo->gpio_acin)); } -if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr,IRQF_DISABLED |IRQF_TRIGGER_FALLING ,"Battery Cover" , sharpsl_fatal_isr)) { +if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr,IRQF_TRIGGER_FALLING ,"Battery Cover" , sharpsl_fatal_isr)) {dev_err (sharpsl_pm.dev,"Could not get irq %d.\n" ,IRQ_GPIO (sharpsl_pm.machinfo->gpio_batlock)); }if (sharpsl_pm.machinfo->gpio_fatal) { -if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr,IRQF_DISABLED |IRQF_TRIGGER_FALLING ,"Fatal Battery" , sharpsl_fatal_isr)) { +if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr,IRQF_TRIGGER_FALLING ,"Fatal Battery" , sharpsl_fatal_isr)) {dev_err (sharpsl_pm.dev,"Could not get irq %d.\n" ,IRQ_GPIO (sharpsl_pm.machinfo->gpio_fatal)); } }if (sharpsl_pm.machinfo->batfull_irq) {/* Register interrupt handler. */ -if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr,IRQF_DISABLED |IRQF_TRIGGER_RISING ,"CO" , sharpsl_chrg_full_isr)) { +if (request_irq (IRQ_GPIO (sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr,IRQF_TRIGGER_RISING ,"CO" , sharpsl_chrg_full_isr)) {dev_err (sharpsl_pm.dev,"Could not get irq %d.\n" ,IRQ_GPIO (sharpsl_pm.machinfo->gpio_batfull)); } }
arch/arm/mach-pxa/time.c +1 -1
@@ -107,7 +107,7 @@ static struct clock_event_device ckevt_pxa_osmr0 = {static struct irqaction pxa_ost0_irq = { .name ="ost0" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = pxa_ost0_interrupt, .dev_id = &ckevt_pxa_osmr0, };
arch/arm/mach-pxa/trizeps4.c +1 -1
@@ -332,7 +332,7 @@ static int trizeps4_mci_init(struct device *dev, irq_handler_t mci_detect_int,int err; err =request_irq (TRIZEPS4_MMC_IRQ , mci_detect_int, -IRQF_DISABLED |IRQF_TRIGGER_RISING |IRQF_SAMPLE_RANDOM , +IRQF_TRIGGER_RISING |IRQF_SAMPLE_RANDOM ,"MMC card detect" , data);if (err) { printk(KERN_ERR "trizeps4_mci_init: MMC/SD: can't request"
arch/arm/mach-rpc/dma.c +1 -1
@@ -141,7 +141,7 @@ static int iomd_request_dma(unsigned int chan, dma_t *dma) struct iomd_dma *idma = container_of(dma, struct iomd_dma, dma);return request_irq (idma->irq, iomd_dma_handle, -IRQF_DISABLED , idma->dma.device_id, idma); +0 , idma->dma.device_id, idma); }static void iomd_free_dma (unsigned int chan,dma_t *dma)
arch/arm/mach-s3c2410/usb-simtec.c +1 -1
@@ -80,7 +80,7 @@ static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on)if (on) { ret =request_irq (IRQ_USBOC , usb_simtec_ocirq, -IRQF_DISABLED |IRQF_TRIGGER_RISING | +IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"USB Over-current" , info);if (ret !=0 ) {
arch/arm/mach-s3c64xx/mach-smartq.c +1 -1
@@ -103,7 +103,7 @@ static void smartq_usb_host_enableoc(struct s3c2410_hcd_info *info, int on)if (on) { ret =request_irq (gpio_to_irq (S3C64XX_GPL (10 )), - smartq_usb_host_ocirq,IRQF_DISABLED | + smartq_usb_host_ocirq,IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"USB host overcurrent" , info);if (ret !=0 )
arch/arm/mach-sa1100/dma.c +1 -1
@@ -124,7 +124,7 @@ int sa1100_request_dma (dma_device_t device, const char *device_id, i = dma - dma_chan; regs = (dma_regs_t *)&DDAR (i); - err =request_irq (IRQ_DMA0 + i, dma_irq_handler,IRQF_DISABLED , + err =request_irq (IRQ_DMA0 + i, dma_irq_handler,0 , device_id, regs);if (err) { printk(KERN_ERR
arch/arm/mach-sa1100/time.c +1 -1
@@ -99,7 +99,7 @@ static struct clock_event_device ckevt_sa1100_osmr0 = {static struct irqaction sa1100_timer_irq = { .name ="ost0" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = sa1100_ost0_interrupt, .dev_id = &ckevt_sa1100_osmr0, };
arch/arm/mach-shark/core.c +1 -1
@@ -130,7 +130,7 @@ shark_timer_interrupt(int irq, void *dev_id)static struct irqaction shark_timer_irq = { .name ="Shark Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = shark_timer_interrupt, };
arch/arm/mach-tcc8k/time.c +1 -1
@@ -80,7 +80,7 @@ static struct clock_event_device clockevent_tcc = {static struct irqaction tcc8k_timer_irq = { .name ="TC32_timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = tcc8k_timer_interrupt, .dev_id = &clockevent_tcc, };
arch/arm/mach-tegra/timer.c +1 -1
@@ -173,7 +173,7 @@ static irqreturn_t tegra_timer_interrupt(int irq, void *dev_id)static struct irqaction tegra_timer_irq = { .name ="timer0" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_TRIGGER_HIGH , + .flags =IRQF_TIMER |IRQF_TRIGGER_HIGH , .handler = tegra_timer_interrupt, .dev_id = &tegra_clockevent, .irq =INT_TMR3 ,
arch/arm/mach-u300/timer.c +1 -1
@@ -326,7 +326,7 @@ static irqreturn_t u300_timer_interrupt(int irq, void *dev_id)static struct irqaction u300_timer_irq = { .name ="U300 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = u300_timer_interrupt, };
arch/arm/mach-vt8500/timer.c +1 -1
@@ -117,7 +117,7 @@ static irqreturn_t vt8500_timer_interrupt(int irq, void *dev_id)struct irqaction irq = { .name ="vt8500_timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = vt8500_timer_interrupt, .dev_id = &clockevent, };
arch/arm/mach-w90x900/time.c +1 -1
@@ -110,7 +110,7 @@ static irqreturn_t nuc900_timer0_interrupt(int irq, void *dev_id)static struct irqaction nuc900_timer0_irq = { .name ="nuc900-timer0" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = nuc900_timer0_interrupt, };
arch/arm/mach-zynq/timer.c +1 -1
@@ -130,7 +130,7 @@ static irqreturn_t xttcpss_clock_event_interrupt(int irq, void *dev_id)static struct irqaction event_timer_irq = { .name ="xttcpss clockevent" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = xttcpss_clock_event_interrupt, };
arch/arm/plat-iop/time.c +1 -1
@@ -137,7 +137,7 @@ iop_timer_interrupt(int irq, void *dev_id)static struct irqaction iop_timer_irq = { .name ="IOP Timer Tick" , .handler = iop_timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .dev_id = &iop_clockevent, };
arch/arm/plat-mxc/Kconfig +1 -1
@@ -41,7 +41,7 @@ config MXC_IRQ_PRIOR help Select this if you want to use prioritized IRQ handling. This feature prevents higher priority ISR to be interrupted - by lower priority IRQ even IRQF_DISABLED flag is not set. + by lower priority IRQ. This may be useful in embedded applications, where are strong requirements for timing. Say N here, unless you have a specialized requirement.
arch/arm/plat-mxc/epit.c +1 -1
@@ -170,7 +170,7 @@ static irqreturn_t epit_timer_interrupt(int irq, void *dev_id)static struct irqaction epit_timer_irq = { .name ="i.MX EPIT Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = epit_timer_interrupt, };
arch/arm/plat-mxc/time.c +1 -1
@@ -254,7 +254,7 @@ static irqreturn_t mxc_timer_interrupt(int irq, void *dev_id)static struct irqaction mxc_timer_irq = { .name ="i.MX Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = mxc_timer_interrupt, };
arch/arm/plat-nomadik/timer.c +1 -1
@@ -177,7 +177,7 @@ static irqreturn_t nmdk_timer_interrupt(int irq, void *dev_id)static struct irqaction nmdk_timer_irq = { .name ="Nomadik Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = nmdk_timer_interrupt, .dev_id = &nmdk_clkevt, };
arch/arm/plat-omap/dma.c +0 -1
@@ -1928,7 +1928,6 @@ static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id)static struct irqaction omap24xx_dma_irq = { .name ="DMA" , .handler = omap2_dma_irq_handler, - .flags =IRQF_DISABLED };#else
arch/arm/plat-orion/time.c +1 -1
@@ -190,7 +190,7 @@ static irqreturn_t orion_timer_interrupt(int irq, void *dev_id)static struct irqaction orion_timer_irq = { .name ="orion_tick" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = orion_timer_interrupt };
arch/arm/plat-pxa/dma.c +1 -1
@@ -378,7 +378,7 @@ int __init pxa_init_dma(int irq, int num_ch)spin_lock_init (&dma_channels[i].lock); } - ret =request_irq (irq, dma_irq_handler,IRQF_DISABLED ,"DMA" ,NULL ); + ret =request_irq (irq, dma_irq_handler,0 ,"DMA" ,NULL );if (ret) {printk (KERN_CRIT "Wow! Can't register IRQ for DMA\n" );kfree (dma_channels);
arch/arm/plat-s3c24xx/dma.c +1 -1
@@ -743,7 +743,7 @@ int s3c2410_dma_request(enum dma_ch channel, chan->irq_claimed =1 ;local_irq_restore (flags); - err =request_irq (chan->irq, s3c2410_dma_irq,IRQF_DISABLED , + err =request_irq (chan->irq, s3c2410_dma_irq,0 , client->name, (void *)chan);local_irq_save (flags);
arch/arm/plat-s5p/s5p-time.c +1 -1
@@ -253,7 +253,7 @@ static irqreturn_t s5p_clock_event_isr(int irq, void *dev_id)static struct irqaction s5p_clock_event_irq = { .name ="s5p_time_irq" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = s5p_clock_event_isr, .dev_id = &time_event_device, };
arch/arm/plat-s5p/sysmmu.c +1 -1
@@ -257,7 +257,7 @@ static int s5p_sysmmu_probe(struct platform_device *pdev) goto err_map; } -if (request_irq (irq, s5p_sysmmu_irq,IRQF_DISABLED , +if (request_irq (irq, s5p_sysmmu_irq,0 , pdev->name, (void *)i)) {dev_err (dev,"Failed to request IRQ for %s.\n" , sysmmu_ips_name[i]);
arch/arm/plat-samsung/time.c +1 -1
@@ -138,7 +138,7 @@ s3c2410_timer_interrupt(int irq, void *dev_id)static struct irqaction s3c2410_timer_irq = { .name ="S3C2410 Timer Tick" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = s3c2410_timer_interrupt, };
arch/arm/plat-spear/time.c +1 -1
@@ -169,7 +169,7 @@ static irqreturn_t spear_timer_interrupt(int irq, void *dev_id)static struct irqaction spear_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = spear_timer_interrupt };
Signature · 1 line
1.7.1
PATCH v3 4/49 avr32: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/avr32/kernel/time.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/avr32/kernel/time.c +1 -1
@@ -58,7 +58,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction timer_irqaction = { .handler = timer_interrupt,/* Oprofile uses the same irq as the timer, so allow it to be shared */ - .flags =IRQF_TIMER |IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_TIMER |IRQF_SHARED , .name ="avr32_comparator" , };
Signature · 1 line
1.7.1
PATCH v3 5/49 cris: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/cris/arch-v10/drivers/gpio.c | 4 ++-- arch/cris/arch-v10/drivers/sync_serial.c | 4 ++-- arch/cris/arch-v10/kernel/time.c | 4 ++-- arch/cris/arch-v32/drivers/mach-a3/gpio.c | 2 +- arch/cris/arch-v32/drivers/mach-fs/gpio.c | 4 ++-- arch/cris/arch-v32/kernel/fasttimer.c | 2 +- arch/cris/arch-v32/kernel/irq.c | 4 ++-- arch/cris/arch-v32/kernel/smp.c | 1 - arch/cris/arch-v32/kernel/time.c | 4 ++-- arch/cris/arch-v32/mach-a3/arbiter.c | 4 ++-- arch/cris/arch-v32/mach-fs/arbiter.c | 2 +- arch/cris/include/arch-v10/arch/irq.h | 5 +++-- arch/cris/include/arch-v32/arch/irq.h | 5 +++-- arch/cris/kernel/irq.c | 3 +-- 14 files changed, 24 insertions(+), 24 deletions(-)
arch/cris/arch-v10/drivers/gpio.c +2 -2
@@ -839,13 +839,13 @@ static int __init gpio_init(void)* in some tests. */ res =request_irq (TIMER0_IRQ_NBR , gpio_poll_timer_interrupt, -IRQF_SHARED |IRQF_DISABLED ,"gpio poll" , gpio_name); +IRQF_SHARED ,"gpio poll" , gpio_name);if (res) {printk (KERN_CRIT "err: timer0 irq for gpio\n" );return res; } res =request_irq (PA_IRQ_NBR , gpio_interrupt, -IRQF_SHARED |IRQF_DISABLED ,"gpio PA" , gpio_name); +IRQF_SHARED ,"gpio PA" , gpio_name);if (res)printk (KERN_CRIT "err: PA irq for gpio\n" );
arch/cris/arch-v10/drivers/sync_serial.c +2 -2
@@ -581,7 +581,7 @@ static int sync_serial_open(struct inode *inode, struct file *file)if (port == &ports[0 ]) {if (request_irq (8 , manual_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"synchronous serial manual irq" , &ports[0 ])) { printk(KERN_CRIT "Can't alloc "
@@ -591,7 +591,7 @@ static int sync_serial_open(struct inode *inode, struct file *file) }else if (port == &ports[1 ]) {if (request_irq (8 , manual_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"synchronous serial manual irq" , &ports[1 ])) { printk(KERN_CRIT "Can't alloc "
arch/cris/arch-v10/kernel/time.c +2 -2
@@ -183,12 +183,12 @@ timer_interrupt(int irq, void *dev_id) }/* timer is IRQF_SHARED so drivers can add stuff to the timer irq chain -* it needs to be IRQF_DISABLED to make the jiffies update work properly +* it needs irqs to be disabled to make the jiffies update work properly */ static struct irqaction irq2 = { .handler = timer_interrupt, - .flags =IRQF_SHARED |IRQF_DISABLED , + .flags =IRQF_SHARED , .name ="timer" , };
arch/cris/arch-v32/drivers/mach-a3/gpio.c +1 -1
@@ -979,7 +979,7 @@ static int __init gpio_init(void)CRIS_LED_DISK_WRITE (0 );int res2 =request_irq (GIO_INTR_VECT , gpio_interrupt, -IRQF_SHARED |IRQF_DISABLED ,"gpio" , &alarmlist); +IRQF_SHARED ,"gpio" , &alarmlist);if (res2) {printk (KERN_ERR "err: irq for gpio\n" );return res2;
arch/cris/arch-v32/drivers/mach-fs/gpio.c +2 -2
@@ -965,11 +965,11 @@ gpio_init(void)* in some tests. */ if (request_irq (TIMER0_INTR_VECT , gpio_poll_timer_interrupt, -IRQF_SHARED |IRQF_DISABLED ,"gpio poll" , &alarmlist)) +IRQF_SHARED ,"gpio poll" , &alarmlist))printk (KERN_ERR "timer0 irq for gpio\n" );if (request_irq (GIO_INTR_VECT , gpio_pa_interrupt, -IRQF_SHARED |IRQF_DISABLED ,"gpio PA" , &alarmlist)) +IRQF_SHARED ,"gpio PA" , &alarmlist))printk (KERN_ERR "PA irq for gpio\n" );#ifdef CONFIG_ETRAX_VIRTUAL_GPIO
arch/cris/arch-v32/kernel/fasttimer.c +1 -1
@@ -822,7 +822,7 @@ int fast_timer_init(void) fasttimer_proc_entry->read_proc = proc_fasttimer_read;#endif /* PROC_FS */ if (request_irq (TIMER0_INTR_VECT , timer_trig_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"fast timer int" , &fast_timer_list))printk (KERN_ERR "err: fasttimer irq\n" ); fast_timer_is_init =1 ;
arch/cris/arch-v32/kernel/irq.c +2 -2
@@ -331,8 +331,8 @@ extern void do_IRQ(int irq, struct pt_regs * regs);void crisv32_do_IRQ (int irq,int block,struct pt_regs * regs) { -/* Interrupts that may not be moved to another CPU and -* are IRQF_DISABLED may skip blocking. This is currently +/* Interrupts that may not be moved to another CPU may +* skip blocking. This is currently * only valid for the timer IRQ and the IPI and is used * for the timer interrupt to avoid watchdog starvation. */
arch/cris/arch-v32/kernel/smp.c +0 -1
@@ -64,7 +64,6 @@ static irqreturn_t crisv32_ipi_interrupt(int irq, void *dev_id);static int send_ipi (int vector,int wait,cpumask_t cpu_mask);static struct irqaction irq_ipi = { .handler = crisv32_ipi_interrupt, - .flags =IRQF_DISABLED , .name ="ipi" , };
arch/cris/arch-v32/kernel/time.c +2 -2
@@ -221,11 +221,11 @@ static inline irqreturn_t timer_interrupt(int irq, void *dev_id) }/* Timer is IRQF_SHARED so drivers can add stuff to the timer irq chain. -* It needs to be IRQF_DISABLED to make the jiffies update work properly. +* It needs irqs to be disabled to make the jiffies update work properly. */ static struct irqaction irq_timer = { .handler = timer_interrupt, - .flags =IRQF_SHARED |IRQF_DISABLED , + .flags =IRQF_SHARED , .name ="timer" };
arch/cris/arch-v32/mach-a3/arbiter.c +2 -2
@@ -256,11 +256,11 @@ static void crisv32_arbiter_init(void)crisv32_arbiter_config (1 ,EXT_REGION ,0 );if (request_irq (MEMARB_FOO_INTR_VECT , crisv32_foo_arbiter_irq, -IRQF_DISABLED ,"arbiter" ,NULL )) +0 ,"arbiter" ,NULL ))printk (KERN_ERR "Couldn't allocate arbiter IRQ\n" );if (request_irq (MEMARB_BAR_INTR_VECT , crisv32_bar_arbiter_irq, -IRQF_DISABLED ,"arbiter" ,NULL )) +0 ,"arbiter" ,NULL ))printk (KERN_ERR "Couldn't allocate arbiter IRQ\n" );#ifndef CONFIG_ETRAX_KGDB
arch/cris/arch-v32/mach-fs/arbiter.c +1 -1
@@ -184,7 +184,7 @@ static void crisv32_arbiter_init(void)crisv32_arbiter_config (EXT_REGION ,0 );crisv32_arbiter_config (INT_REGION ,0 ); -if (request_irq (MEMARB_INTR_VECT , crisv32_arbiter_irq,IRQF_DISABLED , +if (request_irq (MEMARB_INTR_VECT , crisv32_arbiter_irq,0 ,"arbiter" ,NULL ))printk (KERN_ERR "Couldn't allocate arbiter IRQ\n" );
arch/cris/include/arch-v10/arch/irq.h +3 -2
@@ -142,8 +142,9 @@ __asm__ ( \* it here, we would not get the multiple_irq at all. * * The non-blocking here is based on the knowledge that the timer interrupt is -* registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not -* be an sti() before the timer irq handler is run to acknowledge the interrupt. +* registred as a fast interrupt (called with irqs disabled) so that we _know_ +* there will not be an sti() before the timer irq handler is run to acknowledge +* the interrupt. */ #define BUILD_TIMER_IRQ (nr,mask) \
arch/cris/include/arch-v32/arch/irq.h +3 -2
@@ -103,8 +103,9 @@ __asm__ ( \* if we had BLOCK'edit here, we would not get the multiple_irq at all. * * The non-blocking here is based on the knowledge that the timer interrupt is -* registred as a fast interrupt (IRQF_DISABLED) so that we _know_ there will not -* be an sti() before the timer irq handler is run to acknowledge the interrupt. +* registred as a fast interrupt (called with irqs disabled) so that we _know_ +* there will not be an sti() before the timer irq handler is run to acknowledge +* the interrupt. */ #define BUILD_TIMER_IRQ (nr, mask) \ void IRQ_NAME(nr); \
arch/cris/kernel/irq.c +1 -2
@@ -40,8 +40,7 @@/* called by the assembler IRQ entry functions defined in irq.h * to dispatch the interrupts to registered handlers * interrupts are disabled upon entry - depending on if the -* interrupt was registered with IRQF_DISABLED or not, interrupts -* are re-enabled or not. +* interrupts are re-enabled or not. */ asmlinkage void do_IRQ(int irq, struct pt_regs * regs)
Signature · 1 line
1.7.1
PATCH v3 6/49 frv: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/frv/kernel/irq-mb93091.c | 8 ++++---- arch/frv/kernel/irq-mb93093.c | 1 - arch/frv/kernel/irq-mb93493.c | 4 ++-- arch/frv/kernel/time.c | 1 - 4 files changed, 6 insertions(+), 8 deletions(-)
arch/frv/kernel/irq-mb93091.c +4 -4
@@ -108,25 +108,25 @@ static irqreturn_t fpga_interrupt(int irq, void *_mask)static struct irqaction fpga_irq[4 ] = { [0 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="fpga.0" , .dev_id = (void *)0x0028UL , }, [1 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="fpga.1" , .dev_id = (void *)0x0050UL , }, [2 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="fpga.2" , .dev_id = (void *)0x1c00UL , }, [3 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="fpga.3" , .dev_id = (void *)0x6386UL , }
arch/frv/kernel/irq-mb93093.c +0 -1
@@ -106,7 +106,6 @@ static irqreturn_t fpga_interrupt(int irq, void *_mask)static struct irqaction fpga_irq[1 ] = { [0 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED , .name ="fpga.0" , .dev_id = (void *)0x0700UL , }
arch/frv/kernel/irq-mb93493.c +2 -2
@@ -119,13 +119,13 @@ static irqreturn_t mb93493_interrupt(int irq, void *_piqsr)static struct irqaction mb93493_irq[2 ] = { [0 ] = { .handler = mb93493_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="mb93493.0" , .dev_id = (void *)__addr_MB93493_IQSR (0 ), }, [1 ] = { .handler = mb93493_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="mb93493.1" , .dev_id = (void *)__addr_MB93493_IQSR (1 ), }
arch/frv/kernel/time.c +0 -1
@@ -44,7 +44,6 @@ static irqreturn_t timer_interrupt(int irq, void *dummy);static struct irqaction timer_irq = { .handler = timer_interrupt, - .flags =IRQF_DISABLED , .name ="timer" , };
Signature · 1 line
1.7.1
PATCH v3 7/49 h8300: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/h8300/kernel/timer/itu.c | 2 +- arch/h8300/kernel/timer/timer16.c | 2 +- arch/h8300/kernel/timer/timer8.c | 2 +- arch/h8300/kernel/timer/tpu.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/h8300/kernel/timer/itu.c +1 -1
@@ -59,7 +59,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction itu_irq = { .name ="itu" , .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , };static const int __initdata divide_rate[] = {1 ,2 ,4 ,8 };
arch/h8300/kernel/timer/timer16.c +1 -1
@@ -54,7 +54,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction timer16_irq = { .name ="timer-16" , .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , };static const int __initdata divide_rate[] = {1 ,2 ,4 ,8 };
arch/h8300/kernel/timer/timer8.c +1 -1
@@ -74,7 +74,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction timer8_irq = { .name ="timer-8" , .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , };static const int __initdata divide_rate[] = {8 ,64 ,8192 };
arch/h8300/kernel/timer/tpu.c +1 -1
@@ -63,7 +63,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction tpu_irq = { .name ="tpu" , .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , };static const int __initdata divide_rate[] = {
Signature · 1 line
1.7.1
PATCH v3 8/49 ia64: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/ia64/hp/sim/simserial.c | 2 +- arch/ia64/kernel/irq_ia64.c | 4 ---- arch/ia64/kernel/mca.c | 6 ------ arch/ia64/kernel/perfmon.c | 1 - arch/ia64/kernel/time.c | 2 +- arch/ia64/xen/irq_xen.c | 3 --- 6 files changed, 2 insertions(+), 16 deletions(-)
arch/ia64/hp/sim/simserial.c +1 -1
@@ -43,7 +43,7 @@#define NR_PORTS 1/* only one port for now */ -#define IRQ_T (info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : IRQF_DISABLED) +#define IRQ_T (info) ((info->flags & ASYNC_SHARE_IRQ) ? IRQF_SHARED : 0)#define SSC_GETCHAR 21
arch/ia64/kernel/irq_ia64.c +0 -4
@@ -366,7 +366,6 @@ static irqreturn_t smp_irq_move_cleanup_interrupt(int irq, void *dev_id)static struct irqaction irq_move_irqaction = { .handler = smp_irq_move_cleanup_interrupt, - .flags =IRQF_DISABLED , .name ="irq_move" };
@@ -604,7 +603,6 @@ static irqreturn_t dummy_handler (int irq, void *dev_id)static struct irqaction ipi_irqaction = { .handler = handle_IPI, - .flags =IRQF_DISABLED , .name ="IPI" };
@@ -613,13 +611,11 @@ static struct irqaction ipi_irqaction = {*/ static struct irqaction resched_irqaction = { .handler = dummy_handler, - .flags =IRQF_DISABLED , .name ="resched" };static struct irqaction tlb_irqaction = { .handler = dummy_handler, - .flags =IRQF_DISABLED , .name ="tlb_flush" };
arch/ia64/kernel/mca.c +0 -6
@@ -1769,38 +1769,32 @@ __setup("disable_cpe_poll", ia64_mca_disable_cpe_polling);static struct irqaction cmci_irqaction = { .handler = ia64_mca_cmc_int_handler, - .flags =IRQF_DISABLED , .name ="cmc_hndlr" };static struct irqaction cmcp_irqaction = { .handler = ia64_mca_cmc_int_caller, - .flags =IRQF_DISABLED , .name ="cmc_poll" };static struct irqaction mca_rdzv_irqaction = { .handler = ia64_mca_rendez_int_handler, - .flags =IRQF_DISABLED , .name ="mca_rdzv" };static struct irqaction mca_wkup_irqaction = { .handler = ia64_mca_wakeup_int_handler, - .flags =IRQF_DISABLED , .name ="mca_wkup" };#ifdef CONFIG_ACPI static struct irqaction mca_cpe_irqaction = { .handler = ia64_mca_cpe_int_handler, - .flags =IRQF_DISABLED , .name ="cpe_hndlr" };static struct irqaction mca_cpep_irqaction = { .handler = ia64_mca_cpe_int_caller, - .flags =IRQF_DISABLED , .name ="cpe_poll" };#endif /* CONFIG_ACPI */
arch/ia64/kernel/perfmon.c +0 -1
@@ -6432,7 +6432,6 @@ pfm_flush_pmds(struct task_struct *task, pfm_context_t *ctx)static struct irqaction perfmon_irqaction = { .handler = pfm_interrupt_handler, - .flags =IRQF_DISABLED , .name ="perfmon" };
arch/ia64/kernel/time.c +1 -1
@@ -397,7 +397,7 @@ static cycle_t itc_get_cycles(struct clocksource *cs)static struct irqaction timer_irqaction = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_IRQPOLL , + .flags =IRQF_IRQPOLL , .name ="timer" };
arch/ia64/xen/irq_xen.c +0 -3
@@ -113,19 +113,16 @@ xen_resched_handler(int irq, void *dev_id)static struct irqaction xen_ipi_irqaction = { .handler = handle_IPI, - .flags =IRQF_DISABLED , .name ="IPI" };static struct irqaction xen_resched_irqaction = { .handler = xen_resched_handler, - .flags =IRQF_DISABLED , .name ="resched" };static struct irqaction xen_tlb_irqaction = { .handler = xen_dummy_handler, - .flags =IRQF_DISABLED , .name ="tlb_flush" };#endif
Signature · 1 line
1.7.1
PATCH v3 9/49 m32r: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/m32r/kernel/time.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/m32r/kernel/time.c +0 -1
@@ -134,7 +134,6 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED , .name ="MFT2" , };
Signature · 1 line
1.7.1
PATCH v3 10/49 m68k: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/m68k/include/asm/floppy.h | 2 +- arch/m68k/include/asm/irq.h | 4 ++-- arch/m68k/include/asm/sun3xflop.h | 2 +- arch/m68k/platform/68328/timers.c | 2 +- arch/m68k/platform/68360/config.c | 2 +- arch/m68k/platform/coldfire/pit.c | 2 +- arch/m68k/platform/coldfire/sltimers.c | 4 ++-- arch/m68k/platform/coldfire/timers.c | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-)
arch/m68k/include/asm/floppy.h +1 -1
@@ -85,7 +85,7 @@ static int fd_request_irq(void) {if (MACH_IS_Q40 )return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" , floppy_hardint); +0 ,"floppy" , floppy_hardint);else if (MACH_IS_SUN3X )return sun3xflop_request_irq ();return -ENXIO ;
arch/m68k/include/asm/irq.h +2 -2
@@ -60,8 +60,8 @@ struct pt_regs;/* * various flags for request_irq() - the Amiga now uses the standard -* mechanism like all other architectures - IRQF_DISABLED and -* IRQF_SHARED are your friends. +* mechanism like all other architectures - IRQF_SHARED etc. +* are your friends. */ #ifndef MACH_AMIGA_ONLY #define IRQ_FLG_LOCK (0x0001)/* handler is not replaceable */
arch/m68k/include/asm/sun3xflop.h +1 -1
@@ -208,7 +208,7 @@ static int sun3xflop_request_irq(void)if (!once) { once =1 ; error =request_irq (FLOPPY_IRQ , sun3xflop_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );return ((error ==0 ) ?0 :-1 ); }else return 0 ; }
arch/m68k/platform/68328/timers.c +1 -1
@@ -69,7 +69,7 @@ static irqreturn_t hw_tick(int irq, void *dummy)static struct irqaction m68328_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = hw_tick, };
arch/m68k/platform/68360/config.c +1 -1
@@ -58,7 +58,7 @@ static irqreturn_t hw_tick(int irq, void *dummy)static struct irqaction m68360_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = hw_tick, };
arch/m68k/platform/coldfire/pit.c +1 -1
@@ -118,7 +118,7 @@ static irqreturn_t pit_tick(int irq, void *dummy)static struct irqaction pit_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = pit_tick, };
arch/m68k/platform/coldfire/sltimers.c +2 -2
@@ -51,7 +51,7 @@ irqreturn_t mcfslt_profile_tick(int irq, void *dummy)static struct irqaction mcfslt_profile_irq = { .name ="profile timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcfslt_profile_tick, };
@@ -91,7 +91,7 @@ static irqreturn_t mcfslt_tick(int irq, void *dummy)static struct irqaction mcfslt_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcfslt_tick, };
arch/m68k/platform/coldfire/timers.c +2 -2
@@ -62,7 +62,7 @@ static irqreturn_t mcftmr_tick(int irq, void *dummy)static struct irqaction mcftmr_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcftmr_tick, };
@@ -150,7 +150,7 @@ irqreturn_t coldfire_profile_tick(int irq, void *dummy)static struct irqaction coldfire_profile_irq = { .name ="profile timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = coldfire_profile_tick, };
Signature · 1 line
1.7.1
PATCH v3 10/49 m68k: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/m68k/include/asm/floppy.h | 2 +- arch/m68k/include/asm/irq.h | 4 ++-- arch/m68k/include/asm/sun3xflop.h | 2 +- arch/m68k/platform/68328/timers.c | 2 +- arch/m68k/platform/68360/config.c | 2 +- arch/m68k/platform/coldfire/pit.c | 2 +- arch/m68k/platform/coldfire/sltimers.c | 4 ++-- arch/m68k/platform/coldfire/timers.c | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-)
arch/m68k/include/asm/floppy.h +1 -1
@@ -85,7 +85,7 @@ static int fd_request_irq(void) {if (MACH_IS_Q40 )return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" , floppy_hardint); +0 ,"floppy" , floppy_hardint);else if (MACH_IS_SUN3X )return sun3xflop_request_irq ();return -ENXIO ;
arch/m68k/include/asm/irq.h +2 -2
@@ -60,8 +60,8 @@ struct pt_regs;/* * various flags for request_irq() - the Amiga now uses the standard -* mechanism like all other architectures - IRQF_DISABLED and -* IRQF_SHARED are your friends. +* mechanism like all other architectures - IRQF_SHARED etc. +* are your friends. */ #ifndef MACH_AMIGA_ONLY #define IRQ_FLG_LOCK (0x0001)/* handler is not replaceable */
arch/m68k/include/asm/sun3xflop.h +1 -1
@@ -208,7 +208,7 @@ static int sun3xflop_request_irq(void)if (!once) { once =1 ; error =request_irq (FLOPPY_IRQ , sun3xflop_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );return ((error ==0 ) ?0 :-1 ); }else return 0 ; }
arch/m68k/platform/68328/timers.c +1 -1
@@ -69,7 +69,7 @@ static irqreturn_t hw_tick(int irq, void *dummy)static struct irqaction m68328_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = hw_tick, };
arch/m68k/platform/68360/config.c +1 -1
@@ -58,7 +58,7 @@ static irqreturn_t hw_tick(int irq, void *dummy)static struct irqaction m68360_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = hw_tick, };
arch/m68k/platform/coldfire/pit.c +1 -1
@@ -118,7 +118,7 @@ static irqreturn_t pit_tick(int irq, void *dummy)static struct irqaction pit_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = pit_tick, };
arch/m68k/platform/coldfire/sltimers.c +2 -2
@@ -51,7 +51,7 @@ irqreturn_t mcfslt_profile_tick(int irq, void *dummy)static struct irqaction mcfslt_profile_irq = { .name ="profile timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcfslt_profile_tick, };
@@ -91,7 +91,7 @@ static irqreturn_t mcfslt_tick(int irq, void *dummy)static struct irqaction mcfslt_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcfslt_tick, };
arch/m68k/platform/coldfire/timers.c +2 -2
@@ -62,7 +62,7 @@ static irqreturn_t mcftmr_tick(int irq, void *dummy)static struct irqaction mcftmr_timer_irq = { .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = mcftmr_tick, };
@@ -150,7 +150,7 @@ irqreturn_t coldfire_profile_tick(int irq, void *dummy)static struct irqaction coldfire_profile_irq = { .name ="profile timer" , - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .handler = coldfire_profile_tick, };
Signature · 1 line
1.7.1
PATCH v3 11/49 microblaze: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/microblaze/kernel/timer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/microblaze/kernel/timer.c +1 -1
@@ -163,7 +163,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction timer_irqaction = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="timer" , .dev_id = &clockevent_microblaze_timer, };
Signature · 1 line
1.7.1
PATCH v3 12/49 MIPS: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/mips/alchemy/common/dbdma.c | 2 +- arch/mips/alchemy/common/time.c | 2 +- arch/mips/alchemy/devboards/db1200/platform.c | 4 ++-- arch/mips/cavium-octeon/smp.c | 2 +- arch/mips/dec/setup.c | 1 - arch/mips/include/asm/mach-generic/floppy.h | 2 +- arch/mips/include/asm/mach-jazz/floppy.h | 2 +- arch/mips/jazz/irq.c | 2 +- arch/mips/kernel/cevt-bcm1480.c | 2 +- arch/mips/kernel/cevt-ds1287.c | 2 +- arch/mips/kernel/cevt-gt641xx.c | 2 +- arch/mips/kernel/cevt-r4k.c | 2 +- arch/mips/kernel/cevt-sb1250.c | 2 +- arch/mips/kernel/cevt-txx9.c | 2 +- arch/mips/kernel/i8253.c | 2 +- arch/mips/kernel/rtlx.c | 1 - arch/mips/kernel/smtc.c | 2 +- arch/mips/lantiq/irq.c | 1 - arch/mips/loongson/common/cs5536/cs5536_mfgpt.c | 2 +- arch/mips/mti-malta/malta-int.c | 4 ++-- arch/mips/pci/ops-pmcmsp.c | 2 +- arch/mips/pci/ops-tx3927.c | 2 +- arch/mips/pci/pci-tx4927.c | 2 +- arch/mips/pci/pci-tx4938.c | 2 +- arch/mips/pci/pci-tx4939.c | 2 +- arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c | 2 +- arch/mips/pmc-sierra/msp71xx/msp_smp.c | 4 ++-- arch/mips/pnx8550/common/int.c | 4 ++-- arch/mips/pnx8550/common/time.c | 4 ++-- arch/mips/sgi-ip22/ip22-int.c | 10 +++++----- arch/mips/sgi-ip27/ip27-irq.c | 2 +- arch/mips/sgi-ip27/ip27-timer.c | 2 +- arch/mips/sgi-ip32/ip32-irq.c | 2 -- arch/mips/sni/irq.c | 2 +- arch/mips/sni/time.c | 2 +- arch/mips/txx9/generic/pci.c | 2 +- 36 files changed, 41 insertions(+), 46 deletions(-)
arch/mips/alchemy/common/dbdma.c +1 -1
@@ -1019,7 +1019,7 @@ static int __init dbdma_setup(unsigned int irq, dbdev_tab_t *idtable) dbdma_gptr->ddma_inten =0xffff ;au_sync (); - ret =request_irq (irq, dbdma_interrupt,IRQF_DISABLED ,"dbdma" , + ret =request_irq (irq, dbdma_interrupt,0 ,"dbdma" , (void *)dbdma_gptr);if (ret)printk (KERN_ERR "Cannot grab DBDMA interrupt!\n" );
arch/mips/alchemy/common/time.c +1 -1
@@ -92,7 +92,7 @@ static struct clock_event_device au1x_rtcmatch2_clockdev = {static struct irqaction au1x_rtcmatch2_irqaction = { .handler = au1x_rtcmatch2_irq, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="timer" , .dev_id = &au1x_rtcmatch2_clockdev, };
arch/mips/alchemy/devboards/db1200/platform.c +2 -2
@@ -276,12 +276,12 @@ static int db1200_mmc_cd_setup(void *mmc_host, int en)if (en) { ret =request_irq (DB1200_SD0_INSERT_INT , db1200_mmc_cd, -IRQF_DISABLED ,"sd_insert" , mmc_host); +0 ,"sd_insert" , mmc_host);if (ret) goto out; ret =request_irq (DB1200_SD0_EJECT_INT , db1200_mmc_cd, -IRQF_DISABLED ,"sd_eject" , mmc_host); +0 ,"sd_eject" , mmc_host);if (ret) {free_irq (DB1200_SD0_INSERT_INT , mmc_host); goto out;
arch/mips/cavium-octeon/smp.c +1 -1
@@ -207,7 +207,7 @@ void octeon_prepare_cpus(unsigned int max_cpus)* the other bits alone. */ cvmx_write_csr (CVMX_CIU_MBOX_CLRX (cvmx_get_core_num ()),0xffff ); -if (request_irq (OCTEON_IRQ_MBOX0 , mailbox_interrupt,IRQF_DISABLED , +if (request_irq (OCTEON_IRQ_MBOX0 , mailbox_interrupt,0 ,"SMP-IPI" , mailbox_interrupt)) {panic ("Cannot request_irq(OCTEON_IRQ_MBOX0)\n" ); }
arch/mips/dec/setup.c +0 -1
@@ -110,7 +110,6 @@ static struct irqaction fpuirq = { };static struct irqaction busirq = { - .flags =IRQF_DISABLED , .name ="bus error" , .flags =IRQF_NO_THREAD , };
arch/mips/include/asm/mach-generic/floppy.h +1 -1
@@ -98,7 +98,7 @@ static inline void fd_disable_irq(void)static inline int fd_request_irq (void ) {return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static inline void fd_free_irq (void )
arch/mips/include/asm/mach-jazz/floppy.h +1 -1
@@ -90,7 +90,7 @@ static inline void fd_disable_irq(void)static inline int fd_request_irq (void ) {return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static inline void fd_free_irq (void )
arch/mips/jazz/irq.c +1 -1
@@ -133,7 +133,7 @@ static irqreturn_t r4030_timer_interrupt(int irq, void *dev_id)static struct irqaction r4030_timer_irqaction = { .handler = r4030_timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="R4030 timer" , };
arch/mips/kernel/cevt-bcm1480.c +1 -1
@@ -145,7 +145,7 @@ void __cpuinit sb1480_clockevent_init(void)bcm1480_unmask_irq (cpu, irq); action->handler = sibyte_counter_handler; - action->flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER ; + action->flags =IRQF_PERCPU |IRQF_TIMER ; action->name = name; action->dev_id = cd;
arch/mips/kernel/cevt-ds1287.c +1 -1
@@ -108,7 +108,7 @@ static irqreturn_t ds1287_interrupt(int irq, void *dev_id)static struct irqaction ds1287_irqaction = { .handler = ds1287_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="ds1287" , };
arch/mips/kernel/cevt-gt641xx.c +1 -1
@@ -114,7 +114,7 @@ static irqreturn_t gt641xx_timer0_interrupt(int irq, void *dev_id)static struct irqaction gt641xx_timer0_irqaction = { .handler = gt641xx_timer0_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="gt641xx_timer0" , };
arch/mips/kernel/cevt-r4k.c +1 -1
@@ -84,7 +84,7 @@ out:struct irqaction c0_compare_irqaction = { .handler = c0_compare_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="timer" , };
arch/mips/kernel/cevt-sb1250.c +1 -1
@@ -144,7 +144,7 @@ void __cpuinit sb1250_clockevent_init(void)sb1250_unmask_irq (cpu, irq); action->handler = sibyte_counter_handler; - action->flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER ; + action->flags =IRQF_PERCPU |IRQF_TIMER ; action->name = name; action->dev_id = cd;
arch/mips/kernel/cevt-txx9.c +1 -1
@@ -146,7 +146,7 @@ static irqreturn_t txx9tmr_interrupt(int irq, void *dev_id)static struct irqaction txx9tmr_irq = { .handler = txx9tmr_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="txx9tmr" , .dev_id = &txx9_clock_event_device, };
arch/mips/kernel/i8253.c +1 -1
@@ -19,7 +19,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_TIMER , .name ="timer" };
arch/mips/kernel/rtlx.c +0 -1
@@ -473,7 +473,6 @@ static const struct file_operations rtlx_fops = {static struct irqaction rtlx_irq = { .handler = rtlx_interrupt, - .flags =IRQF_DISABLED , .name ="RTLX" , };
arch/mips/kernel/smtc.c +1 -1
@@ -1130,7 +1130,7 @@ static void ipi_irq_dispatch(void)static struct irqaction irq_ipi = { .handler = ipi_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="SMTC_IPI" };
arch/mips/lantiq/irq.c +0 -1
@@ -240,7 +240,6 @@ out:static struct irqaction cascade = { .handler = no_action, - .flags =IRQF_DISABLED , .name ="cascade" , };
arch/mips/loongson/common/cs5536/cs5536_mfgpt.c +1 -1
@@ -111,7 +111,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq5 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_TIMER , .name ="timer" };
arch/mips/mti-malta/malta-int.c +2 -2
@@ -322,13 +322,13 @@ static irqreturn_t ipi_call_interrupt(int irq, void *dev_id)static struct irqaction irq_resched = { .handler = ipi_resched_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="IPI_resched" };static struct irqaction irq_call = { .handler = ipi_call_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="IPI_call" };#endif /* CONFIG_MIPS_MT_SMP */
arch/mips/pci/ops-pmcmsp.c +1 -1
@@ -405,7 +405,7 @@ int msp_pcibios_config_access(unsigned char access_type,if (pciirqflag ==0 ) { ret =request_irq (MSP_INT_PCI ,/* Hardcoded internal MSP7120 wiring */ bpci_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"PMC MSP PCI Host" , preg);if (ret !=0 )
arch/mips/pci/ops-tx3927.c +1 -1
@@ -225,7 +225,7 @@ void __init tx3927_setup_pcierr_irq(void) {if (request_irq (TXX9_IRQ_BASE +TX3927_IR_PCI , tx3927_pcierr_interrupt, -IRQF_DISABLED ,"PCI error" , +0 ,"PCI error" , (void *)TX3927_PCIC_REG ))printk (KERN_WARNING "Failed to request irq for PCIERR\n" ); }
arch/mips/pci/pci-tx4927.c +1 -1
@@ -85,7 +85,7 @@ void __init tx4927_setup_pcierr_irq(void) {if (request_irq (TXX9_IRQ_BASE +TX4927_IR_PCIERR , tx4927_pcierr_interrupt, -IRQF_DISABLED ,"PCI error" , +0 ,"PCI error" , (void *)TX4927_PCIC_REG ))printk (KERN_WARNING "Failed to request irq for PCIERR\n" ); }
arch/mips/pci/pci-tx4938.c +1 -1
@@ -136,7 +136,7 @@ void __init tx4938_setup_pcierr_irq(void) {if (request_irq (TXX9_IRQ_BASE +TX4938_IR_PCIERR , tx4927_pcierr_interrupt, -IRQF_DISABLED ,"PCI error" , +0 ,"PCI error" , (void *)TX4927_PCIC_REG ))printk (KERN_WARNING "Failed to request irq for PCIERR\n" ); }
arch/mips/pci/pci-tx4939.c +1 -1
@@ -101,7 +101,7 @@ void __init tx4939_setup_pcierr_irq(void) {if (request_irq (TXX9_IRQ_BASE +TX4939_IR_PCIERR , tx4927_pcierr_interrupt, -IRQF_DISABLED ,"PCI error" , +0 ,"PCI error" , (void *)TX4939_PCIC_REG ))pr_warning ("Failed to request irq for PCIERR\n" ); }
arch/mips/pmc-sierra/msp71xx/msp_hwbutton.c +1 -1
@@ -149,7 +149,7 @@ static int msp_hwbutton_register(struct hwbutton_interrupt *hirq)CIC_EXT_SET_ACTIVE_HI (cic_ext, hirq->eirq); *CIC_EXT_CFG_REG = cic_ext; -return request_irq (hirq->irq, hwbutton_handler,IRQF_DISABLED , +return request_irq (hirq->irq, hwbutton_handler,0 , hirq->name, hirq); }
arch/mips/pmc-sierra/msp71xx/msp_smp.c +2 -2
@@ -51,13 +51,13 @@ static irqreturn_t ipi_call_interrupt(int irq, void *dev_id)static struct irqaction irq_resched = { .handler = ipi_resched_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="IPI_resched" };static struct irqaction irq_call = { .handler = ipi_call_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="IPI_call" };
arch/mips/pnx8550/common/int.c +2 -2
@@ -167,13 +167,13 @@ static struct irq_chip level_irq_type = {static struct irqaction gic_action = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="GIC" , };static struct irqaction timer_action = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="Timer" , };
arch/mips/pnx8550/common/time.c +2 -2
@@ -59,7 +59,7 @@ static irqreturn_t pnx8xxx_timer_interrupt(int irq, void *dev_id)static struct irqaction pnx8xxx_timer_irq = { .handler = pnx8xxx_timer_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="pnx8xxx_timer" , };
@@ -72,7 +72,7 @@ static irqreturn_t monotonic_interrupt(int irq, void *dev_id)static struct irqaction monotonic_irqaction = { .handler = monotonic_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="Monotonic timer" , };
arch/mips/sgi-ip22/ip22-int.c +5 -5
@@ -155,32 +155,32 @@ static void __irq_entry indy_buserror_irq(void)static struct irqaction local0_cascade = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="local0 cascade" , };static struct irqaction local1_cascade = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="local1 cascade" , };static struct irqaction buserr = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="Bus Error" , };static struct irqaction map0_cascade = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="mapable0 cascade" , };#ifdef USE_LIO3_IRQ static struct irqaction map1_cascade = { .handler = no_action, - .flags =IRQF_DISABLED |IRQF_NO_THREAD , + .flags =IRQF_NO_THREAD , .name ="mapable1 cascade" , };#define SGI_INTERRUPTS SGINT_END
arch/mips/sgi-ip27/ip27-irq.c +1 -1
@@ -116,7 +116,7 @@ static int ms1bit(unsigned long x) }/* -* This code is unnecessarily complex, because we do IRQF_DISABLED +* This code is unnecessarily complex, because we do * intr enabling. Basically, once we grab the set of intrs we need * to service, we must mask _all_ these interrupts; firstly, to make * sure the same intr does not intr again, causing recursion that
arch/mips/sgi-ip27/ip27-timer.c +1 -1
@@ -91,7 +91,7 @@ static irqreturn_t hub_rt_counter_handler(int irq, void *dev_id)struct irqaction hub_rt_irqaction = { .handler = hub_rt_counter_handler, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="hub-rt" , };
arch/mips/sgi-ip32/ip32-irq.c +0 -2
@@ -113,13 +113,11 @@ extern irqreturn_t crime_cpuerr_intr(int irq, void *dev_id);static struct irqaction memerr_irq = { .handler = crime_memerr_intr, - .flags =IRQF_DISABLED , .name ="CRIME memory error" , };static struct irqaction cpuerr_irq = { .handler = crime_cpuerr_intr, - .flags =IRQF_DISABLED , .name ="CRIME CPU error" , };
arch/mips/sni/irq.c +1 -1
@@ -42,7 +42,7 @@ static irqreturn_t sni_isa_irq_handler(int dummy, void *p)struct irqaction sni_isa_irq = { .handler = sni_isa_irq_handler, .name ="ISA" , - .flags =IRQF_SHARED |IRQF_DISABLED + .flags =IRQF_SHARED };/*
arch/mips/sni/time.c +1 -1
@@ -68,7 +68,7 @@ static irqreturn_t a20r_interrupt(int irq, void *dev_id)static struct irqaction a20r_irqaction = { .handler = a20r_interrupt, - .flags =IRQF_DISABLED |IRQF_PERCPU |IRQF_TIMER , + .flags =IRQF_PERCPU |IRQF_TIMER , .name ="a20r-timer" , };
arch/mips/txx9/generic/pci.c +1 -1
@@ -262,7 +262,7 @@ txx9_i8259_irq_setup(int irq)int err;init_i8259_irqs (); - err =request_irq (irq, &i8259_interrupt,IRQF_DISABLED |IRQF_SHARED , + err =request_irq (irq, &i8259_interrupt,IRQF_SHARED ,"cascade(i8259)" , (void *)(long )irq);if (!err)printk (KERN_INFO "PCI-ISA bridge PIC (irq %d)\n" , irq);
Signature · 1 line
1.7.1
Re: [PATCH 12/49] MIPS: irq: Remove IRQF_DISABLED
Thanks, queued for 3.3. I resolved a conflict in dbdma.c and remove one IRQF_DISABLED which had been missed in arch/mips/kernel/perf_event.c.
Thanks!
Ralf
Re: [PATCH 12/49] MIPS: irq: Remove IRQF_DISABLED
Quoted 2 lines · Ralf Baechle
Thanks, queued for 3.3. I resolved a conflict in
dbdma.cand remove oneIRQF_DISABLEDwhich had been missed inarch/mips/kernel/perf_event.c.
Thanks, Ralf.
And FYI, my patch is based on next-20111014 when I made it.
Seems Stephen Rothwell(Cc'ing) meet some conflict. Could you please visit it?
Thanks,
Yong
Re: [PATCH 12/49] MIPS: irq: Remove IRQF_DISABLED
Hi Yong,
Quoted 6 lines · On Mon, 7 Nov 2011 10:10:48 +0800 Yong Zhang <[email protected]> wrote:
Quoted 2 lines · Ralf Baechle
Thanks, queued for 3.3. I resolved a conflict in
dbdma.cand remove oneIRQF_DISABLEDwhich had been missed inarch/mips/kernel/perf_event.c.And FYI, my patch is based on next-20111014 when I made it.
You should never base anything on top of a linux-next tree. You should use the tree you are fixing (Linus' or the Mips tree or ...) as the base.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Re: [PATCH 12/49] MIPS: irq: Remove IRQF_DISABLED
Quoted 4 lines · Stephen Rothwell
Hi Yong,
Quoted 1 line · On Mon, 7 Nov 2011 10:10:48 +0800 Yong Zhang <[email protected]> wrote:
Quoted 8 lines
Quoted 5 lines · Ralf Baechle
Quoted 2 lines
Thanks, queued for 3.3. I resolved a conflict in
dbdma.cand remove oneIRQF_DISABLEDwhich had been missed inarch/mips/kernel/perf_event.c.And FYI, my patch is based on next-20111014 when I made it.
You should never base anything on top of a linux-next tree. You should use the tree you are fixing (Linus' or the Mips tree or ...) as the base.
Thanks for your reminding Stephen :)
So I guess 'basing on linux-next' also brings some trouble to tglx, which is hard for him to pick them up.
I think I should base my patch on -tip for the leftovers, tglx? Or let me know your opinion if you have different idea.
Thanks,
Yong
PATCH v3 13/49 mn10300: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/mn10300/kernel/cevt-mn10300.c | 2 +- arch/mn10300/kernel/mn10300-serial.c | 6 +++--- arch/mn10300/kernel/smp.c | 1 - arch/mn10300/unit-asb2364/irq-fpga.c | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-)
arch/mn10300/kernel/cevt-mn10300.c +1 -1
@@ -103,7 +103,7 @@ int __init init_clockevents(void) cd->set_next_event = next_event; iact = &per_cpu (timer_irq, cpu); - iact->flags =IRQF_DISABLED |IRQF_SHARED |IRQF_TIMER ; + iact->flags =IRQF_SHARED |IRQF_TIMER ; iact->handler = timer_interrupt;clockevents_register_device (cd);
arch/mn10300/kernel/mn10300-serial.c +3 -3
@@ -936,15 +936,15 @@ static int mn10300_serial_startup(struct uart_port *_port)irq_set_chip (port->tm_irq, &mn10300_serial_pic);if (request_irq (port->rx_irq, mn10300_serial_interrupt, -IRQF_DISABLED , port->rx_name, port) <0 ) +0 , port->rx_name, port) <0 ) goto error;if (request_irq (port->tx_irq, mn10300_serial_interrupt, -IRQF_DISABLED , port->tx_name, port) <0 ) +0 , port->tx_name, port) <0 ) goto error2;if (request_irq (port->tm_irq, mn10300_serial_interrupt, -IRQF_DISABLED , port->tm_name, port) <0 ) +0 , port->tm_name, port) <0 ) goto error3;mn10300_serial_mask_ack (port->tm_irq);
arch/mn10300/kernel/smp.c +0 -1
@@ -142,7 +142,6 @@ static struct irqaction call_function_ipi = {static irqreturn_t smp_ipi_timer_interrupt (int irq,void *dev_id);static struct irqaction local_timer_ipi = { .handler = smp_ipi_timer_interrupt, - .flags =IRQF_DISABLED , .name ="smp local timer IPI" };#endif
arch/mn10300/unit-asb2364/irq-fpga.c +1 -1
@@ -76,7 +76,7 @@ static irqreturn_t fpga_interrupt(int irq, void *_mask)static struct irqaction fpga_irq[] = { [0 ] = { .handler = fpga_interrupt, - .flags =IRQF_DISABLED |IRQF_SHARED , + .flags =IRQF_SHARED , .name ="fpga" , }, };
Signature · 1 line
1.7.1
PATCH v3 14/49 parisc: irq: remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/parisc/include/asm/floppy.h | 4 ++-- arch/parisc/kernel/irq.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
arch/parisc/include/asm/floppy.h +2 -2
@@ -157,10 +157,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/parisc/kernel/irq.c +2 -2
@@ -379,14 +379,14 @@ void do_cpu_irq_mask(struct pt_regs *regs)static struct irqaction timer_action = { .handler = timer_interrupt, .name ="timer" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_PERCPU |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_PERCPU |IRQF_IRQPOLL , };#ifdef CONFIG_SMP static struct irqaction ipi_action = { .handler = ipi_interrupt, .name ="IPI" , - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , };#endif
Signature · 1 line
1.7.1
PATCH v3 15/49 powerpc: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/powerpc/include/asm/floppy.h | 4 ++-- arch/powerpc/include/asm/xics.h | 4 ++-- arch/powerpc/kernel/smp.c | 2 +- arch/powerpc/platforms/cell/beat.c | 2 +- arch/powerpc/platforms/cell/celleb_scc_pciex.c | 2 +- arch/powerpc/platforms/cell/iommu.c | 3 +-- arch/powerpc/platforms/cell/pmu.c | 2 +- arch/powerpc/platforms/cell/spu_base.c | 9 +++------ arch/powerpc/platforms/powermac/pic.c | 1 - arch/powerpc/platforms/powermac/smp.c | 4 ++-- arch/powerpc/platforms/ps3/device-init.c | 2 +- arch/powerpc/sysdev/mpic.c | 2 -- arch/powerpc/sysdev/ppc4xx_soc.c | 2 +- arch/powerpc/sysdev/xics/xics-common.c | 5 ++--- 14 files changed, 18 insertions(+), 26 deletions(-)
arch/powerpc/include/asm/floppy.h +2 -2
@@ -108,10 +108,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static int vdma_dma_setup (char *addr,unsigned long size,int mode,int io)
arch/powerpc/include/asm/xics.h +2 -2
@@ -15,8 +15,8 @@#define DEFAULT_PRIORITY 5/* -* Mark IPIs as higher priority so we can take them inside interrupts that -* arent marked IRQF_DISABLED +* Mark IPIs as higher priority so we can take them inside interrupts +* FIXME: still true now? */ #define IPI_PRIORITY 4
arch/powerpc/kernel/smp.c +1 -1
@@ -187,7 +187,7 @@ int smp_request_message_ipi(int virq, int msg) return 1; }#endif - err =request_irq (virq, smp_ipi_action[msg],IRQF_DISABLED |IRQF_PERCPU , + err =request_irq (virq, smp_ipi_action[msg],IRQF_PERCPU , smp_ipi_name[msg],0 );WARN (err <0 ,"unable to request_irq %d for %s (rc %d)\n" , virq, smp_ipi_name[msg], err);
arch/powerpc/platforms/cell/beat.c +1 -1
@@ -230,7 +230,7 @@ static int __init beat_register_event(void) } ev->virq = virq; - rc =request_irq (virq, ev->handler,IRQF_DISABLED , + rc =request_irq (virq, ev->handler,0 , ev->typecode,NULL );if (rc !=0 ) { printk(KERN_ERR "Beat: failed to request virtual IRQ"
arch/powerpc/platforms/cell/celleb_scc_pciex.c +1 -1
@@ -514,7 +514,7 @@ static __init int celleb_setup_pciex(struct device_node *node, virq =irq_create_of_mapping (oirq.controller, oirq.specifier, oirq.size);if (request_irq (virq, pciex_handle_internal_irq, -IRQF_DISABLED ,"pciex" , (void *)phb)) { +0 ,"pciex" , (void *)phb)) {pr_err ("PCIEXC:Failed to request irq\n" ); goto error; }
arch/powerpc/platforms/cell/iommu.c +1 -2
@@ -412,8 +412,7 @@ static void cell_iommu_enable_hardware(struct cbe_iommu *iommu) IIC_IRQ_IOEX_ATI | (iommu->nid << IIC_IRQ_NODE_SHIFT));BUG_ON (virq ==NO_IRQ ); - ret =request_irq (virq, ioc_interrupt,IRQF_DISABLED , - iommu->name, iommu); + ret =request_irq (virq, ioc_interrupt,0 , iommu->name, iommu);BUG_ON (ret);/* set the IOC segment table origin register (and turn on the iommu) */
arch/powerpc/platforms/cell/pmu.c +1 -1
@@ -392,7 +392,7 @@ static int __init cbe_init_pm_irq(void) } rc =request_irq (irq, cbe_pm_irq, -IRQF_DISABLED ,"cbe-pmu-0" ,NULL ); +0 ,"cbe-pmu-0" ,NULL );if (rc) {printk ("ERROR: Request for irq on node %d failed\n" , node);
arch/powerpc/platforms/cell/spu_base.c +3 -6
@@ -442,8 +442,7 @@ static int spu_request_irqs(struct spu *spu)snprintf (spu->irq_c0,sizeof (spu->irq_c0),"spe%02d.0" , spu->number); ret =request_irq (spu->irqs[0 ], spu_irq_class_0, -IRQF_DISABLED , - spu->irq_c0, spu); +0 , spu->irq_c0, spu);if (ret) goto bail0; }
@@ -451,8 +450,7 @@ static int spu_request_irqs(struct spu *spu)snprintf (spu->irq_c1,sizeof (spu->irq_c1),"spe%02d.1" , spu->number); ret =request_irq (spu->irqs[1 ], spu_irq_class_1, -IRQF_DISABLED , - spu->irq_c1, spu); +0 , spu->irq_c1, spu);if (ret) goto bail1; }
@@ -460,8 +458,7 @@ static int spu_request_irqs(struct spu *spu)snprintf (spu->irq_c2,sizeof (spu->irq_c2),"spe%02d.2" , spu->number); ret =request_irq (spu->irqs[2 ], spu_irq_class_2, -IRQF_DISABLED , - spu->irq_c2, spu); +0 , spu->irq_c2, spu);if (ret) goto bail2; }
arch/powerpc/platforms/powermac/pic.c +0 -1
@@ -272,7 +272,6 @@ static struct irqaction xmon_action = {static struct irqaction gatwick_cascade_action = { .handler = gatwick_action, - .flags =IRQF_DISABLED , .name ="cascade" , };
arch/powerpc/platforms/powermac/smp.c +2 -2
@@ -200,7 +200,7 @@ static int psurge_secondary_ipi_init(void)if (psurge_secondary_virq) rc =request_irq (psurge_secondary_virq, psurge_ipi_intr, -IRQF_DISABLED |IRQF_PERCPU ,"IPI" ,NULL ); +IRQF_PERCPU ,"IPI" ,NULL );if (rc)pr_err ("Failed to setup secondary cpu IPI\n" );
@@ -408,7 +408,7 @@ static int __init smp_psurge_kick_cpu(int nr)static struct irqaction psurge_irqaction = { .handler = psurge_ipi_intr, - .flags =IRQF_DISABLED |IRQF_PERCPU , + .flags =IRQF_PERCPU , .name ="primary IPI" , };
arch/powerpc/platforms/ps3/device-init.c +1 -1
@@ -825,7 +825,7 @@ static int ps3_probe_thread(void *data)spin_lock_init (&dev.lock); - res =request_irq (irq, ps3_notification_interrupt,IRQF_DISABLED , + res =request_irq (irq, ps3_notification_interrupt,0 ,"ps3_notification" , &dev);if (res) { pr_err("%s:%u: request_irq failed %d\n", __func__, __LINE__,
arch/powerpc/sysdev/mpic.c +0 -2
@@ -800,8 +800,6 @@ static void mpic_end_ipi(struct irq_data *d)* IPIs are marked IRQ_PER_CPU. This has the side effect of * preventing the IRQ_PENDING/IRQ_INPROGRESS logic from * applying to them. We EOI them late to avoid re-entering. -* We mark IPI's with IRQF_DISABLED as they must run with -* irqs disabled. */ mpic_eoi (mpic); }
arch/powerpc/sysdev/ppc4xx_soc.c +1 -1
@@ -115,7 +115,7 @@ static int __init ppc4xx_l2c_probe(void) }/* Install error handler */ -if (request_irq (irq, l2c_error_handler,IRQF_DISABLED ,"L2C" ,0 ) <0 ) { +if (request_irq (irq, l2c_error_handler,0 ,"L2C" ,0 ) <0 ) {printk (KERN_ERR "Cannot install L2C error handler" ", cache is not enabled\n" );of_node_put (np);
arch/powerpc/sysdev/xics/xics-common.c +2 -3
@@ -134,11 +134,10 @@ static void xics_request_ipi(void)BUG_ON (ipi ==NO_IRQ );/* -* IPIs are marked IRQF_DISABLED as they must run with irqs -* disabled, and PERCPU. The handler was set in map. +* IPIs are marked IRQF_PERCPU. The handler was set in map. */ BUG_ON (request_irq (ipi, icp_ops->ipi_action, -IRQF_DISABLED |IRQF_PERCPU ,"IPI" ,NULL )); +IRQF_PERCPU ,"IPI" ,NULL )); }int __init xics_smp_probe (void )
Signature · 1 line
1.7.1
Re: [PATCH 15/49] powerpc: irq: Remove IRQF_DISABLED
Quoted 10 lines · Yong Zhang
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>Acked-by Arnd Bergmann <[email protected]>
Quoted 16 lines
--- arch/powerpc/include/asm/floppy.h | 4 ++-- arch/powerpc/include/asm/xics.h | 4 ++-- arch/powerpc/kernel/smp.c | 2 +- arch/powerpc/platforms/cell/beat.c | 2 +- arch/powerpc/platforms/cell/celleb_scc_pciex.c | 2 +- arch/powerpc/platforms/cell/iommu.c | 3 +-- arch/powerpc/platforms/cell/pmu.c | 2 +- arch/powerpc/platforms/cell/spu_base.c | 9 +++------ arch/powerpc/platforms/powermac/pic.c | 1 - arch/powerpc/platforms/powermac/smp.c | 4 ++-- arch/powerpc/platforms/ps3/device-init.c | 2 +- arch/powerpc/sysdev/mpic.c | 2 -- arch/powerpc/sysdev/ppc4xx_soc.c | 2 +- arch/powerpc/sysdev/xics/xics-common.c | 5 ++--- 14 files changed, 18 insertions(+), 26 deletions(-)
Looks OK for PS3.
PATCH v3 16/49 SH: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/sh/boards/board-secureedge5410.c | 3 +-- arch/sh/boards/mach-cayman/irq.c | 2 -- arch/sh/boards/mach-hp6xx/hp6xx_apm.c | 2 +- arch/sh/drivers/dma/dma-g2.c | 2 +- arch/sh/drivers/dma/dma-pvr2.c | 1 - arch/sh/drivers/dma/dma-sh.c | 4 ++-- arch/sh/drivers/dma/dmabrg.c | 6 +++--- arch/sh/drivers/pci/pci-sh5.c | 4 ++-- arch/sh/drivers/pci/pci-sh7780.c | 2 +- arch/sh/drivers/push-switch.c | 2 +- arch/sh/kernel/cpu/sh4a/smp-shx3.c | 2 +- 11 files changed, 13 insertions(+), 17 deletions(-)
arch/sh/boards/board-secureedge5410.c +1 -2
@@ -41,8 +41,7 @@ static int __init eraseconfig_init(void)printk ("SnapGear: EraseConfig init\n" );/* Setup "EraseConfig" switch on external IRQ 0 */ -if (request_irq (irq, eraseconfig_interrupt,IRQF_DISABLED , -"Erase Config" ,NULL )) +if (request_irq (irq, eraseconfig_interrupt,0 ,"Erase Config" ,NULL ))printk ("SnapGear: failed to register IRQ%d for Reset witch\n" , irq);else
arch/sh/boards/mach-cayman/irq.c +0 -2
@@ -46,13 +46,11 @@ static irqreturn_t cayman_interrupt_pci2(int irq, void *dev_id)static struct irqaction cayman_action_smsc = { .name ="Cayman SMSC Mux" , .handler = cayman_interrupt_smsc, - .flags =IRQF_DISABLED , };static struct irqaction cayman_action_pci2 = { .name ="Cayman PCI2 Mux" , .handler = cayman_interrupt_pci2, - .flags =IRQF_DISABLED , };static void enable_cayman_irq (struct irq_data *data)
arch/sh/boards/mach-hp6xx/hp6xx_apm.c +1 -1
@@ -86,7 +86,7 @@ static int __init hp6x0_apm_init(void)int ret; ret =request_irq (HP680_BTN_IRQ , hp6x0_apm_interrupt, -IRQF_DISABLED ,MODNAME ,NULL ); +0 ,MODNAME ,NULL );if (unlikely (ret <0 )) { printk(KERN_ERR MODNAME ": IRQ %d request failed\n", HP680_BTN_IRQ);
arch/sh/drivers/dma/dma-g2.c +1 -1
@@ -170,7 +170,7 @@ static int __init g2_dma_init(void) {int ret; - ret =request_irq (HW_EVENT_G2_DMA , g2_dma_interrupt,IRQF_DISABLED , + ret =request_irq (HW_EVENT_G2_DMA , g2_dma_interrupt,0 ,"g2 DMA handler" , &g2_dma_info);if (unlikely (ret))return -EINVAL ;
arch/sh/drivers/dma/dma-pvr2.c +0 -1
@@ -70,7 +70,6 @@ static int pvr2_xfer_dma(struct dma_channel *chan)static struct irqaction pvr2_dma_irq = { .name ="pvr2 DMA handler" , .handler = pvr2_dma_interrupt, - .flags =IRQF_DISABLED , };static struct dma_ops pvr2_dma_ops = {
arch/sh/drivers/dma/dma-sh.c +2 -2
@@ -95,7 +95,7 @@ static int sh_dmac_request_dma(struct dma_channel *chan)#if defined(CONFIG_SH_DMA_IRQ_MULTI )IRQF_SHARED , #else -IRQF_DISABLED , +0 , #endif chan->dev_id, chan); }
@@ -305,7 +305,7 @@ static int __init sh_dmac_init(void)#if defined(CONFIG_SH_DMA_IRQ_MULTI )IRQF_SHARED , #else -IRQF_DISABLED , +0 , #endif dmae_name[n], (void *)dmae_name[n]);if (unlikely (i <0 )) {
arch/sh/drivers/dma/dmabrg.c +3 -3
@@ -174,17 +174,17 @@ static int __init dmabrg_init(void) or =__raw_readl (DMAOR );__raw_writel (or |DMAOR_BRG |DMAOR_DMEN ,DMAOR ); - ret =request_irq (DMABRGI0 , dmabrg_irq,IRQF_DISABLED , + ret =request_irq (DMABRGI0 , dmabrg_irq,0 ,"DMABRG USB address error" ,NULL );if (ret) goto out0; - ret =request_irq (DMABRGI1 , dmabrg_irq,IRQF_DISABLED , + ret =request_irq (DMABRGI1 , dmabrg_irq,0 ,"DMABRG Transfer End" ,NULL );if (ret) goto out1; - ret =request_irq (DMABRGI2 , dmabrg_irq,IRQF_DISABLED , + ret =request_irq (DMABRGI2 , dmabrg_irq,0 ,"DMABRG Transfer Half" ,NULL );if (ret =0 )return ret;
arch/sh/drivers/pci/pci-sh5.c +2 -2
@@ -107,13 +107,13 @@ static int __init sh5pci_init(void)u32 uval;if (request_irq (IRQ_ERR , pcish5_err_irq, -IRQF_DISABLED ,"PCI Error" ,NULL ) <0 ) { +0 ,"PCI Error" ,NULL ) <0 ) {printk (KERN_ERR "PCISH5: Cannot hook PCI_PERR interrupt\n" );return -EINVAL ; }if (request_irq (IRQ_SERR , pcish5_serr_irq, -IRQF_DISABLED ,"PCI SERR interrupt" ,NULL ) <0 ) { +0 ,"PCI SERR interrupt" ,NULL ) <0 ) {printk (KERN_ERR "PCISH5: Cannot hook PCI_SERR interrupt\n" );return -EINVAL ; }
arch/sh/drivers/pci/pci-sh7780.c +1 -1
@@ -172,7 +172,7 @@ static int __init sh7780_pci_setup_irqs(struct pci_channel *hose)PCI_STATUS_SIG_TARGET_ABORT | \ PCI_STATUS_PARITY, hose->reg_base + PCI_STATUS); - ret =request_irq (hose->serr_irq, sh7780_pci_serr_irq,IRQF_DISABLED , + ret =request_irq (hose->serr_irq, sh7780_pci_serr_irq,0 ,"PCI SERR interrupt" , hose);if (unlikely (ret)) {printk (KERN_ERR "PCI: Failed hooking SERR IRQ\n" );
arch/sh/drivers/push-switch.c +1 -1
@@ -63,7 +63,7 @@ static int switch_drv_probe(struct platform_device *pdev)BUG_ON (!psw_info); ret =request_irq (irq, psw_info->irq_handler, -IRQF_DISABLED | psw_info->irq_flags, + psw_info->irq_flags, psw_info->name ? psw_info->name :DRV_NAME , pdev);if (unlikely (ret <0 )) goto err;
arch/sh/kernel/cpu/sh4a/smp-shx3.c +1 -1
@@ -79,7 +79,7 @@ static void shx3_prepare_cpus(unsigned int max_cpus)for (i =0 ; i <SMP_MSG_NR ; i++)request_irq (104 + i, ipi_interrupt_handler, -IRQF_DISABLED |IRQF_PERCPU ,"IPI" , (void *)(long )i); +IRQF_PERCPU ,"IPI" , (void *)(long )i);for (i =0 ; i < max_cpus; i++)set_cpu_present (i, true);
Signature · 1 line
1.7.1
Paul Mundt
AppliedRe: [PATCH 16/49] SH: irq: Remove IRQF_DISABLED
Quoted 9 lines · Yong Zhang
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>
Applied, thanks.
PATCH v3 17/49 sparc: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/sparc/include/asm/floppy_64.h | 2 +- arch/sparc/kernel/ldc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/sparc/include/asm/floppy_64.h +1 -1
@@ -258,7 +258,7 @@ static int sun_fd_request_irq(void) once =1 ; error =request_irq (FLOPPY_IRQ , sparc_floppy_irq, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );return ((error =0 ) ?0 :-1 ); }
arch/sparc/kernel/ldc.c +2 -2
@@ -1251,13 +1251,13 @@ int ldc_bind(struct ldc_channel *lp, const char *name)snprintf (lp->tx_irq_name,LDC_IRQ_NAME_MAX ,"%s TX" , name); err =request_irq (lp->cfg.rx_irq, ldc_rx, -IRQF_SAMPLE_RANDOM |IRQF_DISABLED , +IRQF_SAMPLE_RANDOM , lp->rx_irq_name, lp);if (err)return err; err =request_irq (lp->cfg.tx_irq, ldc_tx, -IRQF_SAMPLE_RANDOM |IRQF_DISABLED , +IRQF_SAMPLE_RANDOM , lp->tx_irq_name, lp);if (err) {free_irq (lp->cfg.rx_irq, lp);
Signature · 1 line
1.7.1
PATCH v3 18/49 um: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/um/drivers/line.c | 8 ++++---- arch/um/drivers/mconsole_kern.c | 2 +- arch/um/drivers/net_kern.c | 2 +- arch/um/drivers/port_kern.c | 4 ++-- arch/um/drivers/random.c | 2 +- arch/um/drivers/ubd_kern.c | 2 +- arch/um/drivers/xterm_kern.c | 2 +- arch/um/kernel/sigio.c | 2 +- arch/um/kernel/time.c | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-)
arch/um/drivers/line.c +4 -4
@@ -347,8 +347,8 @@ static irqreturn_t line_write_interrupt(int irq, void *data)int err;/* -* Interrupts are disabled here because we registered the interrupt with -* IRQF_DISABLED (see line_setup_irq). +* Interrupts are disabled here because genirq keep irqs disabled when +* calling the action handler. */ spin_lock (&line->lock);
@@ -371,7 +371,7 @@ static irqreturn_t line_write_interrupt(int irq, void *data)int line_setup_irq (int fd,int input,int output,struct line *line,void *data) {const struct line_driver *driver = line->driver; -int err =0 , flags =IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM ; +int err =0 , flags =IRQF_SHARED |IRQF_SAMPLE_RANDOM ;if (input) err = um_request_irq(driver->read_irq, fd, IRQ_READ,
@@ -807,7 +807,7 @@ void register_winch_irq(int fd, int tty_fd, int pid, struct tty_struct *tty, .stack = stack });if (um_request_irq (WINCH_IRQ , fd,IRQ_READ , winch_interrupt, -IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM , +IRQF_SHARED |IRQF_SAMPLE_RANDOM ,"winch" , winch) <0 ) {printk (KERN_ERR "register_winch_irq - failed to register " "IRQ\n" );
arch/um/drivers/mconsole_kern.c +1 -1
@@ -773,7 +773,7 @@ static int __init mconsole_init(void)register_reboot_notifier (&reboot_notifier); err =um_request_irq (MCONSOLE_IRQ , sock,IRQ_READ , mconsole_interrupt, -IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM , +IRQF_SHARED |IRQF_SAMPLE_RANDOM ,"mconsole" , (void *)sock);if (err) {printk (KERN_ERR "Failed to get IRQ for management console\n" );
arch/um/drivers/net_kern.c +1 -1
@@ -161,7 +161,7 @@ static int uml_net_open(struct net_device *dev) } err =um_request_irq (dev->irq, lp->fd,IRQ_READ , uml_net_interrupt, -IRQF_DISABLED |IRQF_SHARED , dev->name, dev); +IRQF_SHARED , dev->name, dev);if (err !=0 ) {printk (KERN_ERR "uml_net_open: failed to get irq(%d)\n" , err); err = -ENETUNREACH ;
arch/um/drivers/port_kern.c +2 -2
@@ -100,7 +100,7 @@ static int port_accept(struct port_list *port) .port = port });if (um_request_irq (TELNETD_IRQ , socket[0 ],IRQ_READ , pipe_interrupt, -IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM , +IRQF_SHARED |IRQF_SAMPLE_RANDOM ,"telnetd" , conn)) {printk (KERN_ERR "port_accept : failed to get IRQ for " "telnetd\n" );
@@ -184,7 +184,7 @@ void *port_data(int port_num) }if (um_request_irq (ACCEPT_IRQ , fd,IRQ_READ , port_interrupt, -IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM , +IRQF_SHARED |IRQF_SAMPLE_RANDOM ,"port" , port)) {printk (KERN_ERR "Failed to get IRQ for port %d\n" , port_num); goto out_close;
arch/um/drivers/random.c +1 -1
@@ -131,7 +131,7 @@ static int __init rng_init (void) random_fd = err; err =um_request_irq (RANDOM_IRQ , random_fd,IRQ_READ , random_interrupt, -IRQF_DISABLED |IRQF_SAMPLE_RANDOM ,"random" , +IRQF_SAMPLE_RANDOM ,"random" ,NULL );if (err) goto err_out_cleanup_hw;
arch/um/drivers/ubd_kern.c +1 -1
@@ -1088,7 +1088,7 @@ static int __init ubd_driver_init(void){return 0 ; } err =um_request_irq (UBD_IRQ , thread_fd,IRQ_READ , ubd_intr, -IRQF_DISABLED ,"ubd" , ubd_devs); +0 ,"ubd" , ubd_devs);if (err !=0 )printk (KERN_ERR "um_request_irq failed - errno = %d\n" , -err);return 0 ;
arch/um/drivers/xterm_kern.c +1 -1
@@ -50,7 +50,7 @@ int xterm_fd(int socket, int *pid_out)init_completion (&data->ready); err =um_request_irq (XTERM_IRQ , socket,IRQ_READ , xterm_interrupt, -IRQF_DISABLED |IRQF_SHARED |IRQF_SAMPLE_RANDOM , +IRQF_SHARED |IRQF_SAMPLE_RANDOM ,"xterm" , data);if (err) { printk(KERN_ERR "xterm_fd : failed to get IRQ for xterm, "
arch/um/kernel/sigio.c +1 -1
@@ -25,7 +25,7 @@ int write_sigio_irq(int fd)int err; err =um_request_irq (SIGIO_WRITE_IRQ , fd,IRQ_READ , sigio_interrupt, -IRQF_DISABLED |IRQF_SAMPLE_RANDOM ,"write sigio" , +IRQF_SAMPLE_RANDOM ,"write sigio" ,NULL );if (err) { printk(KERN_ERR "write_sigio_irq : um_request_irq failed, "
arch/um/kernel/time.c +1 -1
@@ -84,7 +84,7 @@ static void __init setup_itimer(void) {int err; - err =request_irq (TIMER_IRQ , um_timer,IRQF_DISABLED ,"timer" ,NULL ); + err =request_irq (TIMER_IRQ , um_timer,0 ,"timer" ,NULL );if (err !=0 )printk (KERN_ERR "register_timer : request_irq failed - " "errno = %d\n" , -err);
Signature · 1 line
1.7.1
Richard Weinberger
maintainerRe: [PATCH 18/49] um: irq: Remove IRQF_DISABLED
Am 22.10.2011 11:56, schrieb Yong Zhang:
Quoted 10 lines
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>
BTW: I think it's better when I carry this patch through my UML tree. Okay?
Thanks,
//richard
Re: [PATCH 18/49] um: irq: Remove IRQF_DISABLED
Quoted 7 lines · Richard Weinberger
Am 22.10.2011 11:56, schrieb Yong Zhang:
Quoted 6 lines
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
Quoted 7 lines
Quoted 4 lines
So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>BTW: I think it's better when I carry this patch through my UML tree. Okay?
Good :)
Thanks,
Yong
PATCH v3 19/49 unicore32: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/unicore32/kernel/puv3-nb0916.c | 4 ++-- arch/unicore32/kernel/time.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
arch/unicore32/kernel/puv3-nb0916.c +2 -2
@@ -124,7 +124,7 @@ int __init mach_nb0916_init(void)if (request_irq (gpio_to_irq (GPI_LCD_CASE_OFF ), &nb0916_lcdcaseoff_handler, -IRQF_DISABLED |IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"NB0916 lcd case off" ,NULL ) <0 ) { printk(KERN_DEBUG "LCD-Case-OFF IRQ %d not available\n",
@@ -132,7 +132,7 @@ int __init mach_nb0916_init(void) }if (request_irq (gpio_to_irq (GPI_OTP_INT ), &nb0916_overheat_handler, -IRQF_DISABLED |IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING , +IRQF_TRIGGER_RISING |IRQF_TRIGGER_FALLING ,"NB0916 overheating protection" ,NULL ) <0 ) { printk(KERN_DEBUG "Overheating Protection IRQ %d not available\n",
arch/unicore32/kernel/time.c +1 -1
@@ -86,7 +86,7 @@ static struct clocksource cksrc_puv3_oscr = {static struct irqaction puv3_timer_irq = { .name ="ost0" , - .flags =IRQF_DISABLED |IRQF_TIMER |IRQF_IRQPOLL , + .flags =IRQF_TIMER |IRQF_IRQPOLL , .handler = puv3_ost0_interrupt, .dev_id = &ckevt_puv3_osmr0, };
Signature · 1 line
1.7.1
PATCH v3 20/49 x86: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/x86/include/asm/floppy.h | 4 ++-- arch/x86/kernel/hpet.c | 2 +- arch/x86/kernel/time.c | 2 +- arch/x86/xen/smp.c | 8 ++++---- arch/x86/xen/spinlock.c | 2 +- arch/x86/xen/time.c | 5 ++--- 6 files changed, 11 insertions(+), 12 deletions(-)
arch/x86/include/asm/floppy.h +2 -2
@@ -145,10 +145,10 @@ static int fd_request_irq(void) {if (can_use_virtual_dma)return request_irq (FLOPPY_IRQ , floppy_hardint, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL );else return request_irq (FLOPPY_IRQ , floppy_interrupt, -IRQF_DISABLED ,"floppy" ,NULL ); +0 ,"floppy" ,NULL ); }static unsigned long dma_mem_alloc (unsigned long size)
arch/x86/kernel/hpet.c +1 -1
@@ -516,7 +516,7 @@ static int hpet_setup_irq(struct hpet_dev *dev) {if (request_irq (dev->irq, hpet_interrupt_handler, -IRQF_TIMER |IRQF_DISABLED |IRQF_NOBALANCING , +IRQF_TIMER |IRQF_NOBALANCING , dev->name, dev))return -1 ;
arch/x86/kernel/time.c +1 -1
@@ -71,7 +71,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction irq0 = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_IRQPOLL |IRQF_TIMER , .name ="timer" };
arch/x86/xen/smp.c +4 -4
@@ -100,7 +100,7 @@ static int xen_smp_intr_init(unsigned int cpu) rc =bind_ipi_to_irqhandler (XEN_RESCHEDULE_VECTOR , cpu, xen_reschedule_interrupt, -IRQF_DISABLED |IRQF_PERCPU |IRQF_NOBALANCING , +IRQF_PERCPU |IRQF_NOBALANCING , resched_name,NULL );if (rc <0 )
@@ -111,7 +111,7 @@ static int xen_smp_intr_init(unsigned int cpu) rc =bind_ipi_to_irqhandler (XEN_CALL_FUNCTION_VECTOR , cpu, xen_call_function_interrupt, -IRQF_DISABLED |IRQF_PERCPU |IRQF_NOBALANCING , +IRQF_PERCPU |IRQF_NOBALANCING , callfunc_name,NULL );if (rc <0 )
@@ -120,7 +120,7 @@ static int xen_smp_intr_init(unsigned int cpu) debug_name =kasprintf (GFP_KERNEL ,"debug%d" , cpu); rc =bind_virq_to_irqhandler (VIRQ_DEBUG , cpu, xen_debug_interrupt, -IRQF_DISABLED |IRQF_PERCPU |IRQF_NOBALANCING , +IRQF_PERCPU |IRQF_NOBALANCING , debug_name,NULL );if (rc <0 ) goto fail;
@@ -130,7 +130,7 @@ static int xen_smp_intr_init(unsigned int cpu) rc =bind_ipi_to_irqhandler (XEN_CALL_FUNCTION_SINGLE_VECTOR , cpu, xen_call_function_single_interrupt, -IRQF_DISABLED |IRQF_PERCPU |IRQF_NOBALANCING , +IRQF_PERCPU |IRQF_NOBALANCING , callfunc_name,NULL );if (rc <0 )
arch/x86/xen/spinlock.c +1 -1
@@ -354,7 +354,7 @@ void __cpuinit xen_init_lock_cpu(int cpu) irq =bind_ipi_to_irqhandler (XEN_SPIN_UNLOCK_VECTOR , cpu, dummy_handler, -IRQF_DISABLED |IRQF_PERCPU |IRQF_NOBALANCING , +IRQF_PERCPU |IRQF_NOBALANCING , name,NULL );
arch/x86/xen/time.c +2 -3
@@ -408,9 +408,8 @@ void xen_setup_timer(int cpu) name ="<timer kasprintf failed>" ; irq =bind_virq_to_irqhandler (VIRQ_TIMER , cpu, xen_timer_interrupt, -IRQF_DISABLED |IRQF_PERCPU | -IRQF_NOBALANCING |IRQF_TIMER | -IRQF_FORCE_RESUME , +IRQF_PERCPU |IRQF_NOBALANCING | +IRQF_TIMER |IRQF_FORCE_RESUME , name,NULL ); evt = &per_cpu (xen_clock_events, cpu);
Signature · 1 line
1.7.1
PATCH v3 21/49 xtensa: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/xtensa/kernel/time.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/xtensa/kernel/time.c +0 -1
@@ -54,7 +54,6 @@ static struct clocksource ccount_clocksource = {static irqreturn_t timer_interrupt (int irq,void *dev_id);static struct irqaction timer_irqaction = { .handler = timer_interrupt, - .flags =IRQF_DISABLED , .name ="timer" , };
Signature · 1 line
1.7.1
PATCH v3 22/49 score: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- arch/score/kernel/time.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/score/kernel/time.c +1 -1
@@ -41,7 +41,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)static struct irqaction timer_irq = { .handler = timer_interrupt, - .flags =IRQF_DISABLED |IRQF_TIMER , + .flags =IRQF_TIMER , .name ="timer" , };
Signature · 1 line
1.7.1
PATCH v3 23/49 clocksource: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/clocksource/cs5535-clockevt.c | 2 +- drivers/clocksource/dw_apb_timer.c | 3 +-- drivers/clocksource/sh_cmt.c | 2 +- drivers/clocksource/sh_mtu2.c | 2 +- drivers/clocksource/sh_tmu.c | 2 +- drivers/clocksource/tcb_clksrc.c | 2 +- 6 files changed, 6 insertions(+), 7 deletions(-)
drivers/clocksource/cs5535-clockevt.c +1 -1
@@ -133,7 +133,7 @@ static irqreturn_t mfgpt_tick(int irq, void *dev_id)static struct irqaction mfgptirq = { .handler = mfgpt_tick, - .flags =IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TIMER , + .flags =IRQF_NOBALANCING |IRQF_TIMER , .name =DRV_NAME , };
drivers/clocksource/dw_apb_timer.c +1 -2
@@ -243,8 +243,7 @@ dw_apb_clockevent_init(int cpu, const char *name, unsigned rating, dw_ced->irqaction.dev_id = &dw_ced->ced; dw_ced->irqaction.irq = irq; dw_ced->irqaction.flags =IRQF_TIMER |IRQF_IRQPOLL | -IRQF_NOBALANCING | -IRQF_DISABLED ; +IRQF_NOBALANCING ; dw_ced->eoi = apbt_eoi; err =setup_irq (irq, &dw_ced->irqaction);
drivers/clocksource/sh_cmt.c +1 -1
@@ -641,7 +641,7 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev) p->irqaction.name =dev_name (&p->pdev->dev); p->irqaction.handler = sh_cmt_interrupt; p->irqaction.dev_id = p; - p->irqaction.flags =IRQF_DISABLED |IRQF_TIMER | \ + p->irqaction.flags =IRQF_TIMER | \IRQF_IRQPOLL |IRQF_NOBALANCING ;/* get hold of clock */
drivers/clocksource/sh_mtu2.c +1 -1
@@ -282,7 +282,7 @@ static int sh_mtu2_setup(struct sh_mtu2_priv *p, struct platform_device *pdev) p->irqaction.handler = sh_mtu2_interrupt; p->irqaction.dev_id = p; p->irqaction.irq = irq; - p->irqaction.flags =IRQF_DISABLED |IRQF_TIMER | \ + p->irqaction.flags =IRQF_TIMER | \IRQF_IRQPOLL |IRQF_NOBALANCING ;/* get hold of clock */
drivers/clocksource/sh_tmu.c +1 -1
@@ -385,7 +385,7 @@ static int sh_tmu_setup(struct sh_tmu_priv *p, struct platform_device *pdev) p->irqaction.handler = sh_tmu_interrupt; p->irqaction.dev_id = p; p->irqaction.irq = irq; - p->irqaction.flags =IRQF_DISABLED |IRQF_TIMER | \ + p->irqaction.flags =IRQF_TIMER | \IRQF_IRQPOLL |IRQF_NOBALANCING ;/* get hold of clock */
drivers/clocksource/tcb_clksrc.c +1 -1
@@ -175,7 +175,7 @@ static irqreturn_t ch2_irq(int irq, void *handle)static struct irqaction tc_irqaction = { .name ="tc_clkevt" , - .flags =IRQF_TIMER |IRQF_DISABLED , + .flags =IRQF_TIMER , .handler = ch2_irq, };
Signature · 1 line
1.7.1
PATCH v3 24/49 SCSI: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/scsi/NCR5380.c | 2 +- drivers/scsi/aacraid/rx.c | 2 +- drivers/scsi/aacraid/sa.c | 2 +- drivers/scsi/aacraid/src.c | 2 +- drivers/scsi/aha152x.c | 4 ++-- drivers/scsi/aic7xxx_old.c | 2 +- drivers/scsi/arm/acornscsi.c | 2 +- drivers/scsi/arm/cumana_1.c | 2 +- drivers/scsi/arm/cumana_2.c | 2 +- drivers/scsi/arm/powertec.c | 2 +- drivers/scsi/dtc.c | 2 +- drivers/scsi/eata.c | 2 +- drivers/scsi/eata_pio.c | 4 ++-- drivers/scsi/g_NCR5380.c | 2 +- drivers/scsi/gdth.c | 6 +++--- drivers/scsi/hpsa.c | 4 ++-- drivers/scsi/ibmvscsi/ibmvstgt.c | 2 +- drivers/scsi/in2000.c | 2 +- drivers/scsi/initio.c | 2 +- drivers/scsi/pas16.c | 2 +- drivers/scsi/pm8001/pm8001_init.c | 4 +--- drivers/scsi/t128.c | 2 +- drivers/scsi/u14-34f.c | 2 +- drivers/scsi/wd7000.c | 2 +- 24 files changed, 29 insertions(+), 31 deletions(-)
drivers/scsi/NCR5380.c +1 -1
@@ -584,7 +584,7 @@ static int __init __maybe_unused NCR5380_probe_irq(struct Scsi_Host *instance,NCR5380_setup (instance);for (trying_irqs = i =0 , mask =1 ; i <16 ; ++i, mask <<=1 ) -if ((mask & possible) && (request_irq (i, &probe_intr,IRQF_DISABLED ,"NCR-probe" ,NULL ) ==0 )) +if ((mask & possible) && (request_irq (i, &probe_intr,0 ,"NCR-probe" ,NULL ) ==0 )) trying_irqs |= mask; timeout = jiffies + (250 *HZ /1000 );
drivers/scsi/aacraid/rx.c +1 -1
@@ -645,7 +645,7 @@ int _aac_rx_init(struct aac_dev *dev)aac_adapter_comm (dev, dev->comm_interface); dev->msi = aac_msi && !pci_enable_msi (dev->pdev);if (request_irq (dev->pdev->irq, dev->a_ops.adapter_intr, -IRQF_SHARED |IRQF_DISABLED ,"aacraid" , dev) <0 ) { +IRQF_SHARED ,"aacraid" , dev) <0 ) {if (dev->msi)pci_disable_msi (dev->pdev); printk(KERN_ERR "%s%d: Interrupt unavailable.\n",
drivers/scsi/aacraid/sa.c +1 -1
@@ -386,7 +386,7 @@ int aac_sa_init(struct aac_dev *dev)if (aac_init_adapter (dev) ==NULL ) goto error_irq;if (request_irq (dev->pdev->irq, dev->a_ops.adapter_intr, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"aacraid" , (void *)dev ) <0 ) {printk (KERN_WARNING "%s%d: Interrupt unavailable.\n" , name, instance);
drivers/scsi/aacraid/src.c +1 -1
@@ -565,7 +565,7 @@ int aac_src_init(struct aac_dev *dev) dev->msi = aac_msi && !pci_enable_msi (dev->pdev);if (request_irq (dev->pdev->irq, dev->a_ops.adapter_intr, -IRQF_SHARED |IRQF_DISABLED ,"aacraid" , dev) <0 ) { +IRQF_SHARED ,"aacraid" , dev) <0 ) {if (dev->msi)pci_disable_msi (dev->pdev);
drivers/scsi/aha152x.c +2 -2
@@ -858,7 +858,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SIMODE0 ,0 );SETPORT (SIMODE1 ,0 ); -if (request_irq (shpnt->irq, swintr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, swintr,IRQF_SHARED ,"aha152x" , shpnt) ) {printk (KERN_ERR "aha152x%d: irq %d busy.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
@@ -892,7 +892,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup)SETPORT (SSTAT0 ,0x7f );SETPORT (SSTAT1 ,0xef ); -if (request_irq (shpnt->irq, intr,IRQF_DISABLED |IRQF_SHARED ,"aha152x" , shpnt) ) { +if (request_irq (shpnt->irq, intr,IRQF_SHARED ,"aha152x" , shpnt) ) {printk (KERN_ERR "aha152x%d: failed to reassign irq %d.\n" , shpnt->host_no, shpnt->irq); goto out_host_put; }
drivers/scsi/aic7xxx_old.c +1 -1
@@ -8306,7 +8306,7 @@ aic7xxx_register(struct scsi_host_template *template, struct aic7xxx_host *p, "aic7xxx", p));if (result <0 ) { - result = (request_irq (p->irq, do_aic7xxx_isr,IRQF_DISABLED |IRQF_SHARED , + result = (request_irq (p->irq, do_aic7xxx_isr,IRQF_SHARED ,"aic7xxx" , p)); } }
drivers/scsi/arm/acornscsi.c +1 -1
@@ -2997,7 +2997,7 @@ acornscsi_probe(struct expansion_card *ec, const struct ecard_id *id) ec->irqaddr = ashost->fast +INT_REG ; ec->irqmask =0x0a ; - ret =request_irq (host->irq, acornscsi_intr,IRQF_DISABLED ,"acornscsi" , ashost); + ret =request_irq (host->irq, acornscsi_intr,0 ,"acornscsi" , ashost);if (ret) {printk (KERN_CRIT "scsi%d: IRQ%d not free: %d\n" , host->host_no, ashost->scsi.irq, ret);
drivers/scsi/arm/cumana_1.c +1 -1
@@ -264,7 +264,7 @@ cumanascsi1_probe(struct expansion_card *ec, const struct ecard_id *id) goto out_unmap; } - ret =request_irq (host->irq, cumanascsi_intr,IRQF_DISABLED , + ret =request_irq (host->irq, cumanascsi_intr,0 ,"CumanaSCSI-1" , host);if (ret) { printk("scsi%d: IRQ%d not free: %d\n",
drivers/scsi/arm/cumana_2.c +1 -1
@@ -456,7 +456,7 @@ cumanascsi2_probe(struct expansion_card *ec, const struct ecard_id *id) goto out_free; ret =request_irq (ec->irq, cumanascsi_2_intr, -IRQF_DISABLED ,"cumanascsi2" , info); +0 ,"cumanascsi2" , info);if (ret) {printk ("scsi%d: IRQ%d not free: %d\n" , host->host_no, ec->irq, ret);
drivers/scsi/arm/powertec.c +1 -1
@@ -369,7 +369,7 @@ powertecscsi_probe(struct expansion_card *ec, const struct ecard_id *id) goto out_free; ret =request_irq (ec->irq, powertecscsi_intr, -IRQF_DISABLED ,"powertec" , info); +0 ,"powertec" , info);if (ret) {printk ("scsi%d: IRQ%d not free: %d\n" , host->host_no, ec->irq, ret);
drivers/scsi/dtc.c +1 -1
@@ -277,7 +277,7 @@ found:/* With interrupts enabled, it will sometimes hang when doing heavy * reads. So better not enable them until I finger it out. */ if (instance->irq !=SCSI_IRQ_NONE ) -if (request_irq (instance->irq, dtc_intr,IRQF_DISABLED , +if (request_irq (instance->irq, dtc_intr,0 ,"dtc" , instance)) {printk (KERN_ERR "scsi%d : IRQ%d not free, interrupts disabled\n" , instance->host_no, instance->irq); instance->irq =SCSI_IRQ_NONE ;
drivers/scsi/eata.c +1 -1
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j,/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + ((subversion ==ESA ) ?IRQF_SHARED :0 ), driver_name, (void *)&sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq);
drivers/scsi/eata_pio.c +2 -2
@@ -723,7 +723,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdevreturn 0 ;if (!reg_IRQ[gc->IRQ]) {/* Interrupt already registered ? */ -if (!request_irq (gc->IRQ, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" , sh)) { +if (!request_irq (gc->IRQ, do_eata_pio_int_handler,0 ,"EATA-PIO" , sh)) { reg_IRQ[gc->IRQ]++;if (!gc->IRQ_TR) reg_IRQL[gc->IRQ] =1 ;/* IRQ is edge triggered */
@@ -957,7 +957,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt)for (i =0 ; i <=MAXIRQ ; i++)if (reg_IRQ[i]) -request_irq (i, do_eata_pio_int_handler,IRQF_DISABLED ,"EATA-PIO" ,NULL ); +request_irq (i, do_eata_pio_int_handler,0 ,"EATA-PIO" ,NULL ); HBA_ptr = first_HBA;
drivers/scsi/g_NCR5380.c +1 -1
@@ -462,7 +462,7 @@ int __init generic_NCR5380_detect(struct scsi_host_template * tpnt)if (instance->irq !=SCSI_IRQ_NONE )if (request_irq (instance->irq, generic_NCR5380_intr, -IRQF_DISABLED ,"NCR5380" , instance)) { +0 ,"NCR5380" , instance)) {printk (KERN_WARNING "scsi%d : IRQ%d not free, interrupts disabled\n" , instance->host_no, instance->irq); instance->irq =SCSI_IRQ_NONE ; }
drivers/scsi/gdth.c +3 -3
@@ -4718,7 +4718,7 @@ static int __init gdth_isa_probe_one(u32 isa_bios)printk ("Configuring GDT-ISA HA at BIOS 0x%05X IRQ %u DRQ %u\n" , isa_bios, ha->irq, ha->drq); - error =request_irq (ha->irq, gdth_interrupt,IRQF_DISABLED ,"gdth" , ha); + error =request_irq (ha->irq, gdth_interrupt,0 ,"gdth" , ha);if (error) {printk ("GDT-ISA: Unable to allocate IRQ\n" ); goto out_host_put;
@@ -4850,7 +4850,7 @@ static int __init gdth_eisa_probe_one(u16 eisa_slot)printk ("Configuring GDT-EISA HA at Slot %d IRQ %u\n" , eisa_slot >>12 , ha->irq); - error =request_irq (ha->irq, gdth_interrupt,IRQF_DISABLED ,"gdth" , ha); + error =request_irq (ha->irq, gdth_interrupt,0 ,"gdth" , ha);if (error) {printk ("GDT-EISA: Unable to allocate IRQ\n" ); goto out_host_put;
@@ -4987,7 +4987,7 @@ static int __devinit gdth_pci_probe_one(gdth_pci_str *pcistr, ha->irq); error =request_irq (ha->irq, gdth_interrupt, -IRQF_DISABLED |IRQF_SHARED ,"gdth" , ha); +IRQF_SHARED ,"gdth" , ha);if (error) {printk ("GDT-PCI: Unable to allocate IRQ\n" ); goto out_host_put;
drivers/scsi/hpsa.c +2 -2
@@ -4025,10 +4025,10 @@ static int hpsa_request_irq(struct ctlr_info *h,if (h->msix_vector || h->msi_vector) rc =request_irq (h->intr[h->intr_mode], msixhandler, -IRQF_DISABLED , h->devname, h); +0 , h->devname, h);else rc =request_irq (h->intr[h->intr_mode], intxhandler, -IRQF_DISABLED , h->devname, h); +0 , h->devname, h);if (rc) {dev_err (&h->pdev->dev,"unable to get irq %d for %s\n" , h->intr[h->intr_mode], h->devname);
drivers/scsi/ibmvscsi/ibmvstgt.c +1 -1
@@ -589,7 +589,7 @@ static int crq_queue_create(struct crq_queue *queue, struct srp_target *target) } err =request_irq (vport->dma_dev->irq, &ibmvstgt_interrupt, -IRQF_DISABLED ,"ibmvstgt" , target); +0 ,"ibmvstgt" , target);if (err) goto req_irq_failed;
drivers/scsi/in2000.c +1 -1
@@ -2016,7 +2016,7 @@ static int __init in2000_detect(struct scsi_host_template * tpnt)write1_io (0 ,IO_FIFO_READ );/* start fifo out in read mode */ write1_io (0 ,IO_INTR_MASK );/* allow all ints */ x = int_tab[(switches & (SW_INT0 |SW_INT1 )) >>SW_INT_SHIFT ]; -if (request_irq (x, in2000_intr,IRQF_DISABLED ,"in2000" , instance)) { +if (request_irq (x, in2000_intr,0 ,"in2000" , instance)) {printk ("in2000_detect: Unable to allocate IRQ.\n" ); detect_count--;continue ;
drivers/scsi/initio.c +1 -1
@@ -2931,7 +2931,7 @@ static int initio_probe_one(struct pci_dev *pdev, shost->base = host->addr; shost->sg_tablesize =TOTAL_SG_ENTRY ; - error =request_irq (pdev->irq, i91u_intr,IRQF_DISABLED |IRQF_SHARED ,"i91u" , shost); + error =request_irq (pdev->irq, i91u_intr,IRQF_SHARED ,"i91u" , shost);if (error <0 ) {printk (KERN_WARNING "initio: Unable to request IRQ %d\n" , pdev->irq); goto out_free_scbs;
drivers/scsi/pas16.c +1 -1
@@ -453,7 +453,7 @@ int __init pas16_detect(struct scsi_host_template * tpnt) instance->irq =NCR5380_probe_irq (instance,PAS16_IRQS );if (instance->irq !=SCSI_IRQ_NONE ) -if (request_irq (instance->irq, pas16_intr,IRQF_DISABLED , +if (request_irq (instance->irq, pas16_intr,0 ,"pas16" , instance)) {printk ("scsi%d : IRQ%d not free, interrupts disabled\n" , instance->host_no, instance->irq);
drivers/scsi/pm8001/pm8001_init.c +1 -3
@@ -553,12 +553,10 @@ static u32 pm8001_setup_msix(struct pm8001_hba_info *pm8001_ha, {u32 i =0 , j =0 ;u32 number_of_intr =1 ; -int flag =0 ;u32 max_entry;int rc; max_entry =sizeof (pm8001_ha->msix_entries) /sizeof (pm8001_ha->msix_entries[0 ]); - flag |=IRQF_DISABLED ;for (i =0 ; i < max_entry ; i++) pm8001_ha->msix_entries[i].entry = i; rc = pci_enable_msix(pm8001_ha->pdev, pm8001_ha->msix_entries,
@@ -567,7 +565,7 @@ static u32 pm8001_setup_msix(struct pm8001_hba_info *pm8001_ha,if (!rc) {for (i =0 ; i < number_of_intr; i++) {if (request_irq (pm8001_ha->msix_entries[i].vector, - irq_handler, flag,DRV_NAME , + irq_handler,0 ,DRV_NAME ,SHOST_TO_SAS_HA (pm8001_ha->shost))) {for (j =0 ; j < i; j++) free_irq(
drivers/scsi/t128.c +1 -1
@@ -259,7 +259,7 @@ found: instance->irq =NCR5380_probe_irq (instance,T128_IRQS );if (instance->irq !=SCSI_IRQ_NONE ) -if (request_irq (instance->irq, t128_intr,IRQF_DISABLED ,"t128" , +if (request_irq (instance->irq, t128_intr,0 ,"t128" , instance)) {printk ("scsi%d : IRQ%d not free, interrupts disabled\n" , instance->host_no, instance->irq);
drivers/scsi/u14-34f.c +1 -1
@@ -874,7 +874,7 @@ static int port_detect \/* Board detected, allocate its IRQ */ if (request_irq (irq, do_interrupt_handler, -IRQF_DISABLED | ((subversion ==ESA ) ?IRQF_SHARED :0 ), + ((subversion ==ESA ) ?IRQF_SHARED :0 ), driver_name, (void *) &sha[j])) {printk ("%s: unable to allocate IRQ %u, detaching.\n" , name, irq); goto freelock;
drivers/scsi/wd7000.c +1 -1
@@ -1253,7 +1253,7 @@ static int wd7000_init(Adapter * host)return 0 ; -if (request_irq (host->irq, wd7000_intr,IRQF_DISABLED ,"wd7000" , host)) { +if (request_irq (host->irq, wd7000_intr,0 ,"wd7000" , host)) {printk ("wd7000_init: can't get IRQ %d.\n" , host->irq);return (0 ); }
Signature · 1 line
1.7.1
PATCH v3 25/49 block: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/block/cciss.c | 4 ++-- drivers/block/cpqarray.c | 2 +- drivers/block/hd.c | 7 +------ drivers/block/mg_disk.c | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-)
drivers/block/cciss.c +2 -2
@@ -4868,7 +4868,7 @@ static int cciss_request_irq(ctlr_info_t *h, {if (h->msix_vector || h->msi_vector) {if (!request_irq (h->intr[h->intr_mode], msixhandler, -IRQF_DISABLED , h->devname, h)) +0 , h->devname, h))return 0 ; dev_err(&h->pdev->dev, "Unable to get msi irq %d" " for %s\n", h->intr[h->intr_mode],
@@ -4877,7 +4877,7 @@ static int cciss_request_irq(ctlr_info_t *h, }if (!request_irq (h->intr[h->intr_mode], intxhandler, -IRQF_DISABLED , h->devname, h)) +0 , h->devname, h))return 0 ;dev_err (&h->pdev->dev,"Unable to get irq %d for %s\n" , h->intr[h->intr_mode], h->devname);
drivers/block/cpqarray.c +1 -1
@@ -406,7 +406,7 @@ static int __devinit cpqarray_register_ctlr( int i, struct pci_dev *pdev) } hba[i]->access.set_intr_mask (hba[i],0 );if (request_irq (hba[i]->intr, do_ida_intr, -IRQF_DISABLED |IRQF_SHARED , hba[i]->devname, hba[i])) +IRQF_SHARED , hba[i]->devname, hba[i])) {printk (KERN_ERR "cpqarray: Unable to get irq %d for %s\n" , hba[i]->intr, hba[i]->devname);
drivers/block/hd.c +1 -6
@@ -696,11 +696,6 @@ static const struct block_device_operations hd_fops = { };/* -* This is the hard disk IRQ description. The IRQF_DISABLED in sa_flags -* means we run the IRQ-handler with interrupts disabled: this is bad for -* interrupt latency, but anything else has led to problems on some -* machines. -* * We enable interrupts in some of the routines after making sure it's * safe. */
@@ -762,7 +757,7 @@ static int __init hd_init(void) p->cyl, p->head, p->sect); } -if (request_irq (HD_IRQ , hd_interrupt,IRQF_DISABLED ,"hd" ,NULL )) { +if (request_irq (HD_IRQ , hd_interrupt,0 ,"hd" ,NULL )) {printk ("hd: unable to get IRQ%d for the hard disk driver\n" ,HD_IRQ ); goto out1;
drivers/block/mg_disk.c +1 -1
@@ -930,7 +930,7 @@ static int mg_probe(struct platform_device *plat_dev) goto probe_err_3b; } err =request_irq (host->irq, mg_irq, -IRQF_DISABLED |IRQF_TRIGGER_RISING , +IRQF_TRIGGER_RISING ,MG_DEV_NAME , host);if (err) { printk(KERN_ERR "%s:%d fail (request_irq err=%d)\n",
Signature · 1 line
1.7.1
PATCH v3 26/49 cdrom: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/cdrom/gdrom.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/cdrom/gdrom.c +2 -2
@@ -562,11 +562,11 @@ static int __devinit gdrom_set_interrupt_handlers(void)int err; err =request_irq (HW_EVENT_GDROM_CMD , gdrom_command_interrupt, -IRQF_DISABLED ,"gdrom_command" , &gd); +0 ,"gdrom_command" , &gd);if (err)return err; err =request_irq (HW_EVENT_GDROM_DMA , gdrom_dma_interrupt, -IRQF_DISABLED ,"gdrom_dma" , &gd); +0 ,"gdrom_dma" , &gd);if (err)free_irq (HW_EVENT_GDROM_CMD , &gd);return err;
Signature · 1 line
1.7.1
PATCH v3 27/49 driver/char: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/char/hpet.c | 2 +- drivers/char/ipmi/ipmi_si_intf.c | 4 ++-- drivers/char/nwbutton.c | 2 +- drivers/char/rtc.c | 4 ++-- drivers/char/snsc.c | 2 +- drivers/char/snsc_event.c | 2 +- drivers/char/tlclk.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-)
drivers/char/hpet.c +1 -1
@@ -532,7 +532,7 @@ static int hpet_ioctl_ieon(struct hpet_dev *devp)sprintf (devp->hd_name,"hpet%d" , (int )(devp - hpetp->hp_dev)); irq_flags = devp->hd_flags &HPET_SHARED_IRQ - ?IRQF_SHARED :IRQF_DISABLED ; + ?IRQF_SHARED :0 ;if (request_irq (irq, hpet_interrupt, irq_flags, devp->hd_name, (void *)devp)) {printk (KERN_ERR "hpet: IRQ %d is not free\n" , irq);
drivers/char/ipmi/ipmi_si_intf.c +2 -2
@@ -1336,7 +1336,7 @@ static int std_irq_setup(struct smi_info *info)if (info->si_type ==SI_BT ) { rv =request_irq (info->irq, si_bt_irq_handler, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,DEVICE_NAME , info);if (!rv)
@@ -1346,7 +1346,7 @@ static int std_irq_setup(struct smi_info *info) }else rv =request_irq (info->irq, si_irq_handler, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,DEVICE_NAME , info);if (rv) {
drivers/char/nwbutton.c +1 -1
@@ -220,7 +220,7 @@ static int __init nwbutton_init(void)return -EBUSY ; } -if (request_irq (IRQ_NETWINDER_BUTTON , button_handler,IRQF_DISABLED , +if (request_irq (IRQ_NETWINDER_BUTTON , button_handler,0 ,"nwbutton" ,NULL )) {printk (KERN_WARNING "nwbutton: IRQ %d is not free.\n" ,IRQ_NETWINDER_BUTTON );
drivers/char/rtc.c +2 -2
@@ -228,7 +228,7 @@ static inline unsigned char rtc_is_updating(void)#ifdef RTC_IRQ /* -* A very tiny interrupt handler. It runs with IRQF_DISABLED set, +* A very tiny interrupt handler. It runs with irqs disabled, * but there is possibility of conflicting with the set_rtc_mmss() * call (the rtc irq and the timer irq can easily run at the same * time in two different CPUs). So we need to serialize
@@ -1041,7 +1041,7 @@ no_irq: rtc_int_handler_ptr = rtc_interrupt; } -if (request_irq (RTC_IRQ , rtc_int_handler_ptr,IRQF_DISABLED , +if (request_irq (RTC_IRQ , rtc_int_handler_ptr,0 ,"rtc" ,NULL )) {/* Yeah right, seeing as irq 8 doesn't even hit the bus. */ rtc_has_irq =0 ;
drivers/char/snsc.c +1 -1
@@ -108,7 +108,7 @@ scdrv_open(struct inode *inode, struct file *file)/* hook this subchannel up to the system controller interrupt */ mutex_lock (&scdrv_mutex); rv =request_irq (SGI_UART_VECTOR , scdrv_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,SYSCTL_BASENAME , sd);if (rv) {ia64_sn_irtr_close (sd->sd_nasid, sd->sd_subch);
drivers/char/snsc_event.c +1 -1
@@ -292,7 +292,7 @@ scdrv_event_init(struct sysctl_data_s *scd)/* hook event subchannel up to the system controller interrupt */ rv =request_irq (SGI_UART_VECTOR , scdrv_event_interrupt, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED ,"system controller events" , event_sd);if (rv) { printk(KERN_WARNING "%s: irq request failed (%d)\n",
drivers/char/tlclk.c +1 -1
@@ -222,7 +222,7 @@ static int tlclk_open(struct inode *inode, struct file *filp)/* This device is wired through the FPGA IO space of the ATCA blade * we can't share this IRQ */ result =request_irq (telclk_interrupt, &tlclk_interrupt, -IRQF_DISABLED ,"telco_clock" , tlclk_interrupt); +0 ,"telco_clock" , tlclk_interrupt);if (result == -EBUSY )printk (KERN_ERR "tlclk: Interrupt can't be reserved.\n" );else
Signature · 1 line
1.7.1
PATCH v3 28/49 crypto: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/crypto/mv_cesa.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
drivers/crypto/mv_cesa.c +1 -2
@@ -1041,8 +1041,7 @@ static int mv_probe(struct platform_device *pdev) goto err_unmap_sram; } - ret =request_irq (irq, crypto_int,IRQF_DISABLED ,dev_name (&pdev->dev), - cp); + ret =request_irq (irq, crypto_int,0 ,dev_name (&pdev->dev), cp);if (ret) goto err_thread;
Signature · 1 line
1.7.1
PATCH v3 29/49 dmaengine: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/dma/amba-pl08x.c | 2 +- drivers/dma/coh901318.c | 2 +- drivers/dma/shdma.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/dma/amba-pl08x.c +1 -1
@@ -1919,7 +1919,7 @@ static int pl08x_probe(struct amba_device *adev, const struct amba_id *id)writel (0x000000FF , pl08x->base +PL080_ERR_CLEAR );writel (0x000000FF , pl08x->base +PL080_TC_CLEAR ); - ret =request_irq (adev->irq[0 ], pl08x_irq,IRQF_DISABLED , + ret =request_irq (adev->irq[0 ], pl08x_irq,0 ,DRIVER_NAME , pl08x);if (ret) { dev_err(&adev->dev, "%s failed to request interrupt %d\n",
drivers/dma/coh901318.c +1 -1
@@ -1506,7 +1506,7 @@ static int __init coh901318_probe(struct platform_device *pdev)if (irq <0 ) goto err_no_irq; - err =request_irq (irq, dma_irq_handler,IRQF_DISABLED , + err =request_irq (irq, dma_irq_handler,0 ,"coh901318" , base);if (err) { dev_crit(&pdev->dev,
drivers/dma/shdma.c +2 -2
@@ -1149,7 +1149,7 @@ static void sh_dmae_chan_remove(struct sh_dmae_device *shdev)static int __init sh_dmae_probe (struct platform_device *pdev) {struct sh_dmae_pdata *pdata = pdev->dev.platform_data; -unsigned long irqflags =IRQF_DISABLED , +unsigned long irqflags =0 , chan_flag[SH_DMAC_MAX_CHANNELS ] = {};int errirq, chan_irq[SH_DMAC_MAX_CHANNELS ];int err, i, irq_cnt =0 , irqres =0 , irq_cap =0 ;
@@ -1309,7 +1309,7 @@ static int __init sh_dmae_probe(struct platform_device *pdev) IORESOURCE_IRQ_SHAREABLE) chan_flag[irq_cnt] =IRQF_SHARED ; else - chan_flag[irq_cnt] =IRQF_DISABLED ; + chan_flag[irq_cnt] =0 ;dev_dbg (&pdev->dev,"Found IRQ %d for channel %d\n" , i, irq_cnt);
Signature · 1 line
1.7.1
PATCH v3 30/49 EDAC: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/edac/mpc85xx_edac.c | 6 +++--- drivers/edac/mv64x60_edac.c | 8 ++++---- drivers/edac/ppc4xx_edac.c | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)
drivers/edac/mpc85xx_edac.c +3 -3
@@ -275,7 +275,7 @@ static int __devinit mpc85xx_pci_err_probe(struct platform_device *op)if (edac_op_state ==EDAC_OPSTATE_INT ) { pdata->irq =irq_of_parse_and_map (op->dev.of_node,0 ); res =devm_request_irq (&op->dev, pdata->irq, - mpc85xx_pci_isr,IRQF_DISABLED , + mpc85xx_pci_isr,0 ,"[EDAC] PCI err" , pci);if (res <0 ) { printk(KERN_ERR
@@ -577,7 +577,7 @@ static int __devinit mpc85xx_l2_err_probe(struct platform_device *op)if (edac_op_state ==EDAC_OPSTATE_INT ) { pdata->irq =irq_of_parse_and_map (op->dev.of_node,0 ); res =devm_request_irq (&op->dev, pdata->irq, - mpc85xx_l2_isr,IRQF_DISABLED , + mpc85xx_l2_isr,0 ,"[EDAC] L2 err" , edac_dev);if (res <0 ) { printk(KERN_ERR
@@ -1057,7 +1057,7 @@ static int __devinit mpc85xx_mc_err_probe(struct platform_device *op) pdata->irq =irq_of_parse_and_map (op->dev.of_node,0 ); res =devm_request_irq (&op->dev, pdata->irq, mpc85xx_mc_isr, -IRQF_DISABLED |IRQF_SHARED , +IRQF_SHARED ,"[EDAC] MC err" , mci);if (res <0 ) { printk(KERN_ERR "%s: Unable to request irq %d for "
drivers/edac/mv64x60_edac.c +4 -4
@@ -178,7 +178,7 @@ static int __devinit mv64x60_pci_err_probe(struct platform_device *pdev) res =devm_request_irq (&pdev->dev, pdata->irq, mv64x60_pci_isr, -IRQF_DISABLED , +0 ,"[EDAC] PCI err" , pci);if (res <0 ) {
@@ -345,7 +345,7 @@ static int __devinit mv64x60_sram_err_probe(struct platform_device *pdev) res =devm_request_irq (&pdev->dev, pdata->irq, mv64x60_sram_isr, -IRQF_DISABLED , +0 ,"[EDAC] SRAM err" , edac_dev);if (res <0 ) {
@@ -540,7 +540,7 @@ static int __devinit mv64x60_cpu_err_probe(struct platform_device *pdev) res =devm_request_irq (&pdev->dev, pdata->irq, mv64x60_cpu_isr, -IRQF_DISABLED , +0 ,"[EDAC] CPU err" , edac_dev);if (res <0 ) {
@@ -785,7 +785,7 @@ static int __devinit mv64x60_mc_err_probe(struct platform_device *pdev) res =devm_request_irq (&pdev->dev, pdata->irq, mv64x60_mc_isr, -IRQF_DISABLED , +0 ,"[EDAC] MC err" , mci);if (res <0 ) {
drivers/edac/ppc4xx_edac.c +2 -2
@@ -1122,7 +1122,7 @@ ppc4xx_edac_register_irq(struct platform_device *op, struct mem_ctl_info *mci) status =request_irq (ded_irq, ppc4xx_edac_isr, -IRQF_DISABLED , +0 ,"[EDAC] MC ECCDED" , mci);
@@ -1136,7 +1136,7 @@ ppc4xx_edac_register_irq(struct platform_device *op, struct mem_ctl_info *mci) status =request_irq (sec_irq, ppc4xx_edac_isr, -IRQF_DISABLED , +0 ,"[EDAC] MC ECCSEC" , mci);
Signature · 1 line
1.7.1
PATCH v3 31/49 ISDN: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/isdn/hardware/eicon/divasmain.c | 2 +- drivers/isdn/sc/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/isdn/hardware/eicon/divasmain.c +1 -1
@@ -481,7 +481,7 @@ void __inline__ outpp(void __iomem *addr, word p)int diva_os_register_irq (void *context,byte irq,const char *name) {int result =request_irq (irq, diva_os_irq_wrapper, -IRQF_DISABLED |IRQF_SHARED , name, context); +IRQF_SHARED , name, context);return (result); }
drivers/isdn/sc/init.c +1 -1
@@ -336,7 +336,7 @@ static int __init sc_init(void)*/ sc_adapter[cinst]->interrupt = irq[b];if (request_irq (sc_adapter[cinst]->interrupt, interrupt_handler, -IRQF_DISABLED , interface->id, +0 , interface->id, (void *)(unsigned long ) cinst)) {kfree (sc_adapter[cinst]->channel);
Signature · 1 line
1.7.1
PATCH v3 32/49 media: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/media/common/saa7146_core.c | 2 +- drivers/media/dvb/bt8xx/bt878.c | 2 +- drivers/media/radio/si4713-i2c.c | 2 +- drivers/media/rc/winbond-cir.c | 2 +- drivers/media/video/bt8xx/bttv-driver.c | 2 +- drivers/media/video/cx18/cx18-driver.c | 2 +- drivers/media/video/cx23885/cx23885-core.c | 2 +- drivers/media/video/cx88/cx88-alsa.c | 2 +- drivers/media/video/cx88/cx88-mpeg.c | 2 +- drivers/media/video/cx88/cx88-video.c | 2 +- drivers/media/video/davinci/vpbe_display.c | 2 +- drivers/media/video/davinci/vpfe_capture.c | 4 ++-- drivers/media/video/davinci/vpif_capture.c | 2 +- drivers/media/video/davinci/vpif_display.c | 2 +- drivers/media/video/ivtv/ivtv-driver.c | 2 +- drivers/media/video/meye.c | 2 +- drivers/media/video/s5p-mfc/s5p_mfc.c | 3 +-- drivers/media/video/saa7134/saa7134-alsa.c | 2 +- drivers/media/video/saa7134/saa7134-core.c | 2 +- drivers/media/video/saa7164/saa7164-core.c | 2 +- drivers/media/video/sh_mobile_ceu_camera.c | 2 +- drivers/media/video/zoran/zoran_card.c | 2 +- 22 files changed, 23 insertions(+), 24 deletions(-)
drivers/media/common/saa7146_core.c +1 -1
@@ -414,7 +414,7 @@ static int saa7146_init_one(struct pci_dev *pci, const struct pci_device_id *entsaa7146_write (dev,MC2 ,0xf8000000 );/* request an interrupt for the saa7146 */ - err =request_irq (pci->irq, interrupt_hw,IRQF_SHARED |IRQF_DISABLED , + err =request_irq (pci->irq, interrupt_hw,IRQF_SHARED , dev->name, dev);if (err <0 ) {ERR ("request_irq() failed\n" );
drivers/media/dvb/bt8xx/bt878.c +1 -1
@@ -489,7 +489,7 @@ static int __devinit bt878_probe(struct pci_dev *dev,btwrite (0 ,BT848_INT_MASK ); result =request_irq (bt->irq, bt878_irq, -IRQF_SHARED |IRQF_DISABLED ,"bt878" , +IRQF_SHARED ,"bt878" , (void *) bt);if (result == -EINVAL ) { printk(KERN_ERR "bt878(%d): Bad irq number or handler\n",
drivers/media/radio/si4713-i2c.c +1 -1
@@ -2036,7 +2036,7 @@ static int si4713_probe(struct i2c_client *client,if (client->irq) { rval =request_irq (client->irq, - si4713_handler,IRQF_TRIGGER_FALLING |IRQF_DISABLED , + si4713_handler,IRQF_TRIGGER_FALLING , client->name, sdev);if (rval <0 ) {v4l2_err (&sdev->sd,"Could not request IRQ\n" );
drivers/media/rc/winbond-cir.c +1 -1
@@ -1013,7 +1013,7 @@ wbcir_probe(struct pnp_dev *device, const struct pnp_device_id *dev_id) } err =request_irq (data->irq, wbcir_irq_handler, -IRQF_DISABLED ,DRVNAME , device); +0 ,DRVNAME , device);if (err) {dev_err (dev,"Failed to claim IRQ %u\n" , data->irq); err = -EBUSY ;
drivers/media/video/bt8xx/bttv-driver.c +1 -1
@@ -4336,7 +4336,7 @@ static int __devinit bttv_probe(struct pci_dev *dev,/* disable irqs, register irq handler */ btwrite (0 ,BT848_INT_MASK ); result =request_irq (btv->c.pci->irq, bttv_irq, -IRQF_SHARED |IRQF_DISABLED , btv->c.v4l2_dev.name, (void *)btv); +IRQF_SHARED , btv->c.v4l2_dev.name, (void *)btv);if (result <0 ) {pr_err ("%d: can't get IRQ %d\n" , bttv_num, btv->c.pci->irq);
drivers/media/video/cx18/cx18-driver.c +1 -1
@@ -1031,7 +1031,7 @@ static int __devinit cx18_probe(struct pci_dev *pci_dev,/* Register IRQ */ retval =request_irq (cx->pci_dev->irq, cx18_irq_handler, -IRQF_SHARED |IRQF_DISABLED , +IRQF_SHARED , cx->v4l2_dev.name, (void *)cx);if (retval) {CX18_ERR ("Failed to register irq %d\n" , retval);
drivers/media/video/cx23885/cx23885-core.c +1 -1
@@ -2062,7 +2062,7 @@ static int __devinit cx23885_initdev(struct pci_dev *pci_dev, } err =request_irq (pci_dev->irq, cx23885_irq, -IRQF_SHARED |IRQF_DISABLED , dev->name, dev); +IRQF_SHARED , dev->name, dev);if (err <0 ) {printk (KERN_ERR "%s: can't get IRQ %d\n" , dev->name, pci_dev->irq);
drivers/media/video/cx88/cx88-alsa.c +1 -1
@@ -849,7 +849,7 @@ static int __devinit snd_cx88_create(struct snd_card *card,/* get irq */ err =request_irq (chip->pci->irq, cx8801_irq, -IRQF_SHARED |IRQF_DISABLED , chip->core->name, chip); +IRQF_SHARED , chip->core->name, chip);if (err <0 ) {dprintk (0 ,"%s: can't get IRQ %d\n" , chip->core->name, chip->pci->irq);
drivers/media/video/cx88/cx88-mpeg.c +1 -1
@@ -497,7 +497,7 @@ static int cx8802_init_common(struct cx8802_dev *dev)/* get irq */ err =request_irq (dev->pci->irq, cx8802_irq, -IRQF_SHARED |IRQF_DISABLED , dev->core->name, dev); +IRQF_SHARED , dev->core->name, dev);if (err <0 ) {printk (KERN_ERR "%s: can't get IRQ %d\n" , dev->core->name, dev->pci->irq);
drivers/media/video/cx88/cx88-video.c +1 -1
@@ -1917,7 +1917,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,/* get irq */ err =request_irq (pci_dev->irq, cx8800_irq, -IRQF_SHARED |IRQF_DISABLED , core->name, dev); +IRQF_SHARED , core->name, dev);if (err <0 ) {printk (KERN_ERR "%s/0: can't get IRQ %d\n" , core->name,pci_dev->irq);
drivers/media/video/davinci/vpbe_display.c +1 -1
@@ -1735,7 +1735,7 @@ static __devinit int vpbe_display_probe(struct platform_device *pdev) } irq = res->start; -if (request_irq (irq, venc_isr,IRQF_DISABLED ,VPBE_DISPLAY_DRIVER , +if (request_irq (irq, venc_isr,0 ,VPBE_DISPLAY_DRIVER , disp_dev)) {v4l2_err (&disp_dev->vpbe_dev->v4l2_dev,"Unable to request interrupt\n" );
drivers/media/video/davinci/vpfe_capture.c +2 -2
@@ -691,7 +691,7 @@ static int vpfe_attach_irq(struct vpfe_device *vpfe_dev) frame_format = ccdc_dev->hw_ops.get_frame_format ();if (frame_format ==CCDC_FRMFMT_PROGRESSIVE ) {return request_irq (vpfe_dev->ccdc_irq1, vdint1_isr, -IRQF_DISABLED ,"vpfe_capture1" , +0 ,"vpfe_capture1" , vpfe_dev); }return 0 ;
@@ -1898,7 +1898,7 @@ static __init int vpfe_probe(struct platform_device *pdev) } vpfe_dev->ccdc_irq1 = res1->start; - ret =request_irq (vpfe_dev->ccdc_irq0, vpfe_isr,IRQF_DISABLED , + ret =request_irq (vpfe_dev->ccdc_irq0, vpfe_isr,0 ,"vpfe_capture0" , vpfe_dev);if (0 != ret) {
drivers/media/video/davinci/vpif_capture.c +1 -1
@@ -2180,7 +2180,7 @@ static __init int vpif_probe(struct platform_device *pdev) k =0 ;while ((res =platform_get_resource (pdev,IORESOURCE_IRQ , k))) {for (i = res->start; i <= res->end; i++) { -if (request_irq (i, vpif_channel_isr,IRQF_DISABLED , +if (request_irq (i, vpif_channel_isr,0 ,"DM646x_Capture" , (void *)(&vpif_obj.dev[k]->channel_id))) { err = -EBUSY ;
drivers/media/video/davinci/vpif_display.c +1 -1
@@ -1708,7 +1708,7 @@ static __init int vpif_probe(struct platform_device *pdev) k =0 ;while ((res =platform_get_resource (pdev,IORESOURCE_IRQ , k))) {for (i = res->start; i <= res->end; i++) { -if (request_irq (i, vpif_channel_isr,IRQF_DISABLED , +if (request_irq (i, vpif_channel_isr,0 ,"DM646x_Display" , (void *)(&vpif_obj.dev[k]->channel_id))) { err = -EBUSY ;
drivers/media/video/ivtv/ivtv-driver.c +1 -1
@@ -1213,7 +1213,7 @@ static int __devinit ivtv_probe(struct pci_dev *pdev,/* Register IRQ */ retval =request_irq (itv->pdev->irq, ivtv_irq_handler, -IRQF_SHARED |IRQF_DISABLED , itv->v4l2_dev.name, (void *)itv); +IRQF_SHARED , itv->v4l2_dev.name, (void *)itv);if (retval) {IVTV_ERR ("Failed to register irq %d\n" , retval); goto free_i2c;
drivers/media/video/meye.c +1 -1
@@ -1807,7 +1807,7 @@ static int __devinit meye_probe(struct pci_dev *pcidev, meye.mchip_irq = pcidev->irq;if (request_irq (meye.mchip_irq, meye_irq, -IRQF_DISABLED |IRQF_SHARED ,"meye" , meye_irq)) { +IRQF_SHARED ,"meye" , meye_irq)) {v4l2_err (v4l2_dev,"request_irq failed\n" ); goto outreqirq; }
drivers/media/video/s5p-mfc/s5p_mfc.c +1 -2
@@ -998,8 +998,7 @@ static int s5p_mfc_probe(struct platform_device *pdev) goto err_get_res; } dev->irq = res->start; - ret =request_irq (dev->irq, s5p_mfc_irq,IRQF_DISABLED , pdev->name, - dev); + ret =request_irq (dev->irq, s5p_mfc_irq,0 , pdev->name, dev);if (ret) {dev_err (&pdev->dev,"Failed to install irq (%d)\n" , ret); goto err_req_irq;
drivers/media/video/saa7134/saa7134-alsa.c +1 -1
@@ -1094,7 +1094,7 @@ static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum) err =request_irq (dev->pci->irq, saa7134_alsa_irq, -IRQF_SHARED |IRQF_DISABLED , dev->name, +IRQF_SHARED , dev->name, (void *) &dev->dmasound);if (err <0 ) {
drivers/media/video/saa7134/saa7134-core.c +1 -1
@@ -992,7 +992,7 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev,/* get irq */ err =request_irq (pci_dev->irq, saa7134_irq, -IRQF_SHARED |IRQF_DISABLED , dev->name, dev); +IRQF_SHARED , dev->name, dev);if (err <0 ) {printk (KERN_ERR "%s: can't get IRQ %d\n" , dev->name,pci_dev->irq);
drivers/media/video/saa7164/saa7164-core.c +1 -1
@@ -1264,7 +1264,7 @@ static int __devinit saa7164_initdev(struct pci_dev *pci_dev, } err =request_irq (pci_dev->irq, saa7164_irq, -IRQF_SHARED |IRQF_DISABLED , dev->name, dev); +IRQF_SHARED , dev->name, dev);if (err <0 ) {printk (KERN_ERR "%s: can't get IRQ %d\n" , dev->name, pci_dev->irq);
drivers/media/video/sh_mobile_ceu_camera.c +1 -1
@@ -2030,7 +2030,7 @@ static int __devinit sh_mobile_ceu_probe(struct platform_device *pdev) }/* request irq */ - err =request_irq (pcdev->irq, sh_mobile_ceu_irq,IRQF_DISABLED , + err =request_irq (pcdev->irq, sh_mobile_ceu_irq,0 ,dev_name (&pdev->dev), pcdev);if (err) {dev_err (&pdev->dev,"Unable to register CEU interrupt.\n" );
drivers/media/video/zoran/zoran_card.c +1 -1
@@ -1294,7 +1294,7 @@ static int __devinit zoran_probe(struct pci_dev *pdev, } result =request_irq (zr->pci_dev->irq, zoran_irq, -IRQF_SHARED |IRQF_DISABLED ,ZR_DEVNAME (zr), zr); +IRQF_SHARED ,ZR_DEVNAME (zr), zr);if (result <0 ) {if (result == -EINVAL ) { dprintk(1,
Signature · 1 line
1.7.1
PATCH v3 33/49 drivers:misc:irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/misc/arm-charlcd.c | 2 +- drivers/misc/phantom.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/misc/arm-charlcd.c +1 -1
@@ -297,7 +297,7 @@ static int __init charlcd_probe(struct platform_device *pdev) lcd->irq =platform_get_irq (pdev,0 );/* If no IRQ is supplied, we'll survive without it */ if (lcd->irq >=0 ) { -if (request_irq (lcd->irq, charlcd_interrupt,IRQF_DISABLED , +if (request_irq (lcd->irq, charlcd_interrupt,0 ,DRIVERNAME , lcd)) { ret = -EIO ; goto out_no_irq;
drivers/misc/phantom.c +1 -1
@@ -395,7 +395,7 @@ static int __devinit phantom_probe(struct pci_dev *pdev,iowrite32 (0 , pht->caddr +PHN_IRQCTL );ioread32 (pht->caddr +PHN_IRQCTL );/* PCI posting */ retval =request_irq (pdev->irq, phantom_isr, -IRQF_SHARED |IRQF_DISABLED ,"phantom" , pht); +IRQF_SHARED ,"phantom" , pht);if (retval) {dev_err (&pdev->dev,"can't establish ISR\n" ); goto err_unmo;
Signature · 1 line
1.7.1
PATCH v3 34/49 mtd: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/mtd/nand/mxc_nand.c | 2 +- drivers/mtd/nand/pxa3xx_nand.c | 3 +-- drivers/mtd/nand/tmio_nand.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-)
drivers/mtd/nand/mxc_nand.c +1 -1
@@ -1191,7 +1191,7 @@ static int __init mxcnd_probe(struct platform_device *pdev)else host->irq_control (host,0 ); - err =request_irq (host->irq, mxc_nfc_irq,IRQF_DISABLED ,DRIVER_NAME , host); + err =request_irq (host->irq, mxc_nfc_irq,0 ,DRIVER_NAME , host);if (err) goto eirq;
drivers/mtd/nand/pxa3xx_nand.c +1 -2
@@ -1132,8 +1132,7 @@ static int alloc_nand_resource(struct platform_device *pdev)/* initialize all interrupts to be disabled */ disable_int (info,NDSR_MASK ); - ret =request_irq (irq, pxa3xx_nand_irq,IRQF_DISABLED , - pdev->name, info); + ret =request_irq (irq, pxa3xx_nand_irq,0 , pdev->name, info);if (ret <0 ) {dev_err (&pdev->dev,"failed to request IRQ\n" ); goto fail_free_buf;
drivers/mtd/nand/tmio_nand.c +1 -1
@@ -441,7 +441,7 @@ static int tmio_probe(struct platform_device *dev) nand_chip->chip_delay =15 ; retval =request_irq (irq, &tmio_irq, -IRQF_DISABLED ,dev_name (&dev->dev), tmio); +0 ,dev_name (&dev->dev), tmio);if (retval) {dev_err (&dev->dev,"request_irq error %d\n" , retval); goto err_irq;
Signature · 1 line
1.7.1
PATCH v3 35/49 net: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/net/ethernet/adi/bfin_mac.c | 4 ++-- drivers/net/ethernet/amd/sun3lance.c | 2 +- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 4 ++-- drivers/net/ethernet/dec/tulip/de4x5.c | 2 +- drivers/net/ethernet/freescale/fec.c | 2 +- drivers/net/ethernet/hp/hp100.c | 2 +- drivers/net/ethernet/ibm/ehea/ehea_main.c | 6 +++--- drivers/net/ethernet/korina.c | 8 ++++---- drivers/net/ethernet/lantiq_etop.c | 4 ++-- drivers/net/ethernet/marvell/pxa168_eth.c | 2 +- drivers/net/ethernet/micrel/ks8851_mll.c | 2 +- drivers/net/ethernet/natsemi/jazzsonic.c | 2 +- drivers/net/ethernet/natsemi/xtsonic.c | 2 +- drivers/net/ethernet/pasemi/pasemi_mac.c | 4 ++-- drivers/net/ethernet/smsc/smc91x.h | 2 +- drivers/net/ethernet/smsc/smsc9420.c | 2 +- drivers/net/ethernet/ti/davinci_emac.c | 2 +- drivers/net/ethernet/toshiba/ps3_gelic_net.c | 2 +- drivers/net/hamradio/baycom_ser_fdx.c | 2 +- drivers/net/hamradio/baycom_ser_hdx.c | 2 +- drivers/net/hamradio/scc.c | 2 +- drivers/net/hamradio/yam.c | 2 +- drivers/net/irda/bfin_sir.c | 4 ++-- drivers/net/irda/donauboe.c | 4 ++-- drivers/net/irda/sh_irda.c | 2 +- drivers/net/irda/sh_sir.c | 2 +- drivers/net/wan/hostess_sv11.c | 2 +- drivers/net/wan/sealevel.c | 2 +- drivers/net/wireless/p54/p54spi.c | 2 +- include/net/irda/irda_device.h | 2 +- 30 files changed, 41 insertions(+), 41 deletions(-)
drivers/net/ethernet/adi/bfin_mac.c +2 -2
@@ -531,7 +531,7 @@ static int bfin_mac_ethtool_setwol(struct net_device *dev,if (lp->wol && !lp->irq_wake_requested) {/* register wake irq handler */ rc =request_irq (IRQ_MAC_WAKEDET , bfin_mac_wake_interrupt, -IRQF_DISABLED ,"EMAC_WAKE" , dev); +0 ,"EMAC_WAKE" , dev);if (rc)return rc; lp->irq_wake_requested = true;
@@ -1544,7 +1544,7 @@ static int __devinit bfin_mac_probe(struct platform_device *pdev)/* now, enable interrupts */ /* register irq handler */ rc =request_irq (IRQ_MAC_RX , bfin_mac_interrupt, -IRQF_DISABLED ,"EMAC_RX" , ndev); +0 ,"EMAC_RX" , ndev);if (rc) {dev_err (&pdev->dev,"Cannot request Blackfin MAC RX IRQ!\n" ); rc = -EBUSY ;
drivers/net/ethernet/amd/sun3lance.c +1 -1
@@ -358,7 +358,7 @@ static int __init lance_probe( struct net_device *dev)REGA (CSR0 ) =CSR0_STOP ; -if (request_irq (LANCE_IRQ , lance_interrupt,IRQF_DISABLED ,"SUN3 Lance" , dev) <0 ) { +if (request_irq (LANCE_IRQ , lance_interrupt,0 ,"SUN3 Lance" , dev) <0 ) {#ifdef CONFIG_SUN3 iounmap ((void __iomem *)ioaddr);#endif
drivers/net/ethernet/broadcom/bcm63xx_enet.c +2 -2
@@ -840,13 +840,13 @@ static int bcm_enet_open(struct net_device *dev)if (ret) goto out_phy_disconnect; - ret =request_irq (priv->irq_rx, bcm_enet_isr_dma,IRQF_DISABLED , + ret =request_irq (priv->irq_rx, bcm_enet_isr_dma,0 , dev->name, dev);if (ret) goto out_freeirq; ret =request_irq (priv->irq_tx, bcm_enet_isr_dma, -IRQF_DISABLED , dev->name, dev); +0 , dev->name, dev);if (ret) goto out_freeirq_rx;
drivers/net/ethernet/dec/tulip/de4x5.c +1 -1
@@ -1321,7 +1321,7 @@ de4x5_open(struct net_device *dev)if (request_irq (dev->irq, de4x5_interrupt,IRQF_SHARED , lp->adapter_name, dev)) {printk ("de4x5_open(): Requested IRQ%d is busy - attemping FAST/SHARE..." , dev->irq); -if (request_irq (dev->irq, de4x5_interrupt,IRQF_DISABLED |IRQF_SHARED , +if (request_irq (dev->irq, de4x5_interrupt,IRQF_SHARED , lp->adapter_name, dev)) {printk ("\n Cannot get IRQ- reconfigure your hardware.\n" );disable_ast (dev);
drivers/net/ethernet/freescale/fec.c +1 -1
@@ -1573,7 +1573,7 @@ fec_probe(struct platform_device *pdev) irq =platform_get_irq (pdev, i);if (i && irq <0 )break ; - ret =request_irq (irq, fec_enet_interrupt,IRQF_DISABLED , pdev->name, ndev); + ret =request_irq (irq, fec_enet_interrupt,0 , pdev->name, ndev);if (ret) {while (--i >=0 ) { irq =platform_get_irq (pdev, i);
drivers/net/ethernet/hp/hp100.c +1 -1
@@ -1097,7 +1097,7 @@ static int hp100_open(struct net_device *dev)/* New: if bus is PCI or EISA, interrupts might be shared interrupts */ if (request_irq (dev->irq, hp100_interrupt, lp->bus ==HP100_BUS_PCI || lp->bus == -HP100_BUS_EISA ?IRQF_SHARED :IRQF_DISABLED , +HP100_BUS_EISA ?IRQF_SHARED :0 ,"hp100" , dev)) {printk ("hp100: %s: unable to get IRQ %d\n" , dev->name, dev->irq);return -EAGAIN ;
drivers/net/ethernet/ibm/ehea/ehea_main.c +3 -3
@@ -1348,7 +1348,7 @@ static int ehea_reg_interrupts(struct net_device *dev) ret =ibmebus_request_irq (port->qp_eq->attr.ist1, ehea_qp_aff_irq_handler, -IRQF_DISABLED , port->int_aff_name, port); +0 , port->int_aff_name, port);if (ret) {netdev_err (dev,"failed registering irq for qp_aff_irq_handler:ist=%X\n" , port->qp_eq->attr.ist1);
@@ -1366,7 +1366,7 @@ static int ehea_reg_interrupts(struct net_device *dev) "%s-queue%d", dev->name, i); ret =ibmebus_request_irq (pr->eq->attr.ist1, ehea_recv_irq_handler, -IRQF_DISABLED , pr->int_send_name, +0 , pr->int_send_name, pr);if (ret) { netdev_err(dev, "failed registering irq for ehea_queue port_res_nr:%d, ist=%X\n",
@@ -3521,7 +3521,7 @@ static int __devinit ehea_probe_adapter(struct platform_device *dev, (unsigned long)adapter); ret =ibmebus_request_irq (adapter->neq->attr.ist1, - ehea_interrupt_neq,IRQF_DISABLED , + ehea_interrupt_neq,0 ,"ehea_neq" , adapter);if (ret) {dev_err (&dev->dev,"requesting NEQ IRQ failed\n" );
drivers/net/ethernet/korina.c +4 -4
@@ -1001,14 +1001,14 @@ static int korina_open(struct net_device *dev)* that handles the Done Finished * Ovr and Und Events */ ret =request_irq (lp->rx_irq, korina_rx_dma_interrupt, -IRQF_DISABLED ,"Korina ethernet Rx" , dev); +0 ,"Korina ethernet Rx" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get Rx DMA IRQ %d\n" , dev->name, lp->rx_irq); goto err_release; } ret =request_irq (lp->tx_irq, korina_tx_dma_interrupt, -IRQF_DISABLED ,"Korina ethernet Tx" , dev); +0 ,"Korina ethernet Tx" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get Tx DMA IRQ %d\n" , dev->name, lp->tx_irq);
@@ -1017,7 +1017,7 @@ static int korina_open(struct net_device *dev)/* Install handler for overrun error. */ ret =request_irq (lp->ovr_irq, korina_ovr_interrupt, -IRQF_DISABLED ,"Ethernet Overflow" , dev); +0 ,"Ethernet Overflow" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get OVR IRQ %d\n" , dev->name, lp->ovr_irq);
@@ -1026,7 +1026,7 @@ static int korina_open(struct net_device *dev)/* Install handler for underflow error. */ ret =request_irq (lp->und_irq, korina_und_interrupt, -IRQF_DISABLED ,"Ethernet Underflow" , dev); +0 ,"Ethernet Underflow" , dev);if (ret <0 ) {printk (KERN_ERR "%s: unable to get UND IRQ %d\n" , dev->name, lp->und_irq);
drivers/net/ethernet/lantiq_etop.c +2 -2
@@ -280,7 +280,7 @@ ltq_etop_hw_init(struct net_device *dev)if (IS_TX (i)) {ltq_dma_alloc_tx (&ch->dma); -request_irq (irq, ltq_etop_dma_irq,IRQF_DISABLED , +request_irq (irq, ltq_etop_dma_irq,0 ,"etop_tx" , priv); }else if (IS_RX (i)) {ltq_dma_alloc_rx (&ch->dma);
@@ -289,7 +289,7 @@ ltq_etop_hw_init(struct net_device *dev)if (ltq_etop_alloc_skb (ch))return -ENOMEM ; ch->dma.desc =0 ; -request_irq (irq, ltq_etop_dma_irq,IRQF_DISABLED , +request_irq (irq, ltq_etop_dma_irq,0 ,"etop_rx" , priv); } ch->dma.irq = irq;
drivers/net/ethernet/marvell/pxa168_eth.c +1 -1
@@ -1132,7 +1132,7 @@ static int pxa168_eth_open(struct net_device *dev)int err; err =request_irq (dev->irq, pxa168_eth_int_handler, -IRQF_DISABLED , dev->name, dev); +0 , dev->name, dev);if (err) {dev_printk (KERN_ERR , &dev->dev,"can't assign irq\n" );return -EAGAIN ;
drivers/net/ethernet/micrel/ks8851_mll.c +1 -1
@@ -899,7 +899,7 @@ static int ks_net_open(struct net_device *netdev)struct ks_net *ks =netdev_priv (netdev);int err; -#define KS_INT_FLAGS (IRQF_DISABLED|IRQF_TRIGGER_LOW) +#define KS_INT_FLAGS (IRQF_TRIGGER_LOW)/* lock the card, even if we may not actually do anything * else at the moment. */
drivers/net/ethernet/natsemi/jazzsonic.c +1 -1
@@ -84,7 +84,7 @@ static int jazzsonic_open(struct net_device* dev) {int retval; - retval =request_irq (dev->irq, sonic_interrupt,IRQF_DISABLED , + retval =request_irq (dev->irq, sonic_interrupt,0 ,"sonic" , dev);if (retval) { printk(KERN_ERR "%s: unable to get IRQ %d.\n",
drivers/net/ethernet/natsemi/xtsonic.c +1 -1
@@ -95,7 +95,7 @@ static int xtsonic_open(struct net_device *dev) {int retval; - retval =request_irq (dev->irq, sonic_interrupt,IRQF_DISABLED , + retval =request_irq (dev->irq, sonic_interrupt,0 ,"sonic" , dev);if (retval) { printk(KERN_ERR "%s: unable to get IRQ %d.\n",
drivers/net/ethernet/pasemi/pasemi_mac.c +2 -2
@@ -1218,7 +1218,7 @@ static int pasemi_mac_open(struct net_device *dev)snprintf (mac->tx_irq_name,sizeof (mac->tx_irq_name),"%s tx" , dev->name); - ret =request_irq (mac->tx->chan.irq, pasemi_mac_tx_intr,IRQF_DISABLED , + ret =request_irq (mac->tx->chan.irq, pasemi_mac_tx_intr,0 , mac->tx_irq_name, mac->tx);if (ret) { dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n",
@@ -1229,7 +1229,7 @@ static int pasemi_mac_open(struct net_device *dev)snprintf (mac->rx_irq_name,sizeof (mac->rx_irq_name),"%s rx" , dev->name); - ret =request_irq (mac->rx->chan.irq, pasemi_mac_rx_intr,IRQF_DISABLED , + ret =request_irq (mac->rx->chan.irq, pasemi_mac_rx_intr,0 , mac->rx_irq_name, mac->rx);if (ret) { dev_err(&mac->pdev->dev, "request_irq of irq %d failed: %d\n",
drivers/net/ethernet/smsc/smc91x.h +1 -1
@@ -271,7 +271,7 @@ static inline void mcf_outsw(void *a, unsigned char *p, int l)#define SMC_insw (a, r, p, l) mcf_insw(a + r, p, l)#define SMC_outsw (a, r, p, l) mcf_outsw(a + r, p, l) -#define SMC_IRQ_FLAGS (IRQF_DISABLED) +#define SMC_IRQ_FLAGS (0)#else
drivers/net/ethernet/smsc/smsc9420.c +1 -1
@@ -1360,7 +1360,7 @@ static int smsc9420_open(struct net_device *dev)smsc9420_reg_write (pd,INT_STAT ,0xFFFFFFFF );smsc9420_pci_flush_write (pd); -if (request_irq (dev->irq, smsc9420_isr,IRQF_SHARED |IRQF_DISABLED , +if (request_irq (dev->irq, smsc9420_isr,IRQF_SHARED ,DRV_NAME , pd)) {smsc_warn (IFUP ,"Unable to use IRQ = %d" , dev->irq); result = -ENODEV ;
drivers/net/ethernet/ti/davinci_emac.c +1 -1
@@ -1553,7 +1553,7 @@ static int emac_dev_open(struct net_device *ndev)while ((res =platform_get_resource (priv->pdev,IORESOURCE_IRQ , k))) {for (i = res->start; i <= res->end; i++) { -if (request_irq (i, emac_irq,IRQF_DISABLED , +if (request_irq (i, emac_irq,0 , ndev->name, ndev)) goto rollback; }
drivers/net/ethernet/toshiba/ps3_gelic_net.c +1 -1
@@ -1735,7 +1735,7 @@ static int __devinit ps3_gelic_driver_probe(struct ps3_system_bus_device *dev) goto fail_alloc_irq; } result =request_irq (card->irq, gelic_card_interrupt, -IRQF_DISABLED , netdev->name, card); +0 , netdev->name, card);if (result) { dev_info(ctodev(card), "%s:request_irq failed (%d)\n",
drivers/net/hamradio/baycom_ser_fdx.c +1 -1
@@ -445,7 +445,7 @@ static int ser12_open(struct net_device *dev)outb (0 ,FCR (dev->base_addr));/* disable FIFOs */ outb (0x0d ,MCR (dev->base_addr));outb (0 ,IER (dev->base_addr)); -if (request_irq (dev->irq, ser12_interrupt,IRQF_DISABLED |IRQF_SHARED , +if (request_irq (dev->irq, ser12_interrupt,IRQF_SHARED ,"baycom_ser_fdx" , dev)) {release_region (dev->base_addr,SER12_EXTENT );return -EBUSY ;
drivers/net/hamradio/baycom_ser_hdx.c +1 -1
@@ -490,7 +490,7 @@ static int ser12_open(struct net_device *dev)outb (0 ,FCR (dev->base_addr));/* disable FIFOs */ outb (0x0d ,MCR (dev->base_addr));outb (0 ,IER (dev->base_addr)); -if (request_irq (dev->irq, ser12_interrupt,IRQF_DISABLED |IRQF_SHARED , +if (request_irq (dev->irq, ser12_interrupt,IRQF_SHARED ,"baycom_ser12" , dev)) {release_region (dev->base_addr,SER12_EXTENT );return -EBUSY ;
drivers/net/hamradio/scc.c +1 -1
@@ -1735,7 +1735,7 @@ static int scc_net_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)if (!Ivec[hwcfg.irq].used && hwcfg.irq) {if (request_irq (hwcfg.irq, scc_isr, -IRQF_DISABLED ,"AX.25 SCC" , +0 ,"AX.25 SCC" , (void *)(long ) hwcfg.irq))printk (KERN_WARNING "z8530drv: warning, cannot get IRQ %d\n" , hwcfg.irq);else
drivers/net/hamradio/yam.c +1 -1
@@ -890,7 +890,7 @@ static int yam_open(struct net_device *dev) goto out_release_base; }outb (0 ,IER (dev->base_addr)); -if (request_irq (dev->irq, yam_interrupt,IRQF_DISABLED |IRQF_SHARED , dev->name, dev)) { +if (request_irq (dev->irq, yam_interrupt,IRQF_SHARED , dev->name, dev)) {printk (KERN_ERR "%s: irq %d busy\n" , dev->name, dev->irq); ret = -EBUSY ; goto out_release_base;
drivers/net/irda/bfin_sir.c +2 -2
@@ -410,12 +410,12 @@ static int bfin_sir_startup(struct bfin_sir_port *port, struct net_device *dev)#else -if (request_irq (port->irq, bfin_sir_rx_int,IRQF_DISABLED ,"BFIN_SIR_RX" , dev)) { +if (request_irq (port->irq, bfin_sir_rx_int,0 ,"BFIN_SIR_RX" , dev)) {dev_warn (&dev->dev,"Unable to attach SIR RX interrupt\n" );return -EBUSY ; } -if (request_irq (port->irq+1 , bfin_sir_tx_int,IRQF_DISABLED ,"BFIN_SIR_TX" , dev)) { +if (request_irq (port->irq+1 , bfin_sir_tx_int,0 ,"BFIN_SIR_TX" , dev)) {dev_warn (&dev->dev,"Unable to attach SIR TX interrupt\n" );free_irq (port->irq, dev);return -EBUSY ;
drivers/net/irda/donauboe.c +2 -2
@@ -1353,7 +1353,7 @@ toshoboe_net_open (struct net_device *dev)return 0 ; rc =request_irq (self->io.irq, toshoboe_interrupt, -IRQF_SHARED |IRQF_DISABLED , dev->name, self); +IRQF_SHARED , dev->name, self);if (rc)return rc;
@@ -1560,7 +1560,7 @@ toshoboe_open (struct pci_dev *pci_dev, const struct pci_device_id *pdid) self->io.fir_base = self->base; self->io.fir_ext =OBOE_IO_EXTENT ; self->io.irq = pci_dev->irq; - self->io.irqflags =IRQF_SHARED |IRQF_DISABLED ; + self->io.irqflags =IRQF_SHARED ; self->speed = self->io.speed =9600 ; self->async =0 ;
drivers/net/irda/sh_irda.c +1 -1
@@ -809,7 +809,7 @@ static int __devinit sh_irda_probe(struct platform_device *pdev)platform_set_drvdata (pdev, ndev); -if (request_irq (irq, sh_irda_irq,IRQF_DISABLED ,"sh_irda" , self)) { +if (request_irq (irq, sh_irda_irq,0 ,"sh_irda" , self)) {dev_warn (&pdev->dev,"Unable to attach sh_irda interrupt\n" ); goto err_mem_4; }
drivers/net/irda/sh_sir.c +1 -1
@@ -761,7 +761,7 @@ static int __devinit sh_sir_probe(struct platform_device *pdev)platform_set_drvdata (pdev, ndev); -if (request_irq (irq, sh_sir_irq,IRQF_DISABLED ,"sh_sir" , self)) { +if (request_irq (irq, sh_sir_irq,0 ,"sh_sir" , self)) {dev_warn (&pdev->dev,"Unable to attach sh_sir interrupt\n" ); goto err_mem_4; }
drivers/net/wan/hostess_sv11.c +1 -1
@@ -220,7 +220,7 @@ static struct z8530_dev *sv11_init(int iobase, int irq)/* We want a fast IRQ for this device. Actually we'd like an even faster IRQ ;) - This is one driver RtLinux is made for */ -if (request_irq (irq, z8530_interrupt,IRQF_DISABLED , +if (request_irq (irq, z8530_interrupt,0 ,"Hostess SV11" , sv) <0 ) {pr_warn ("IRQ %d already in use\n" , irq); goto err_irq;
drivers/net/wan/sealevel.c +1 -1
@@ -266,7 +266,7 @@ static __init struct slvl_board *slvl_init(int iobase, int irq,/* We want a fast IRQ for this device. Actually we'd like an even faster IRQ ;) - This is one driver RtLinux is made for */ -if (request_irq (irq, z8530_interrupt,IRQF_DISABLED , +if (request_irq (irq, z8530_interrupt,0 ,"SeaLevel" , dev) <0 ) {pr_warn ("IRQ %d already in use\n" , irq); goto err_request_irq;
drivers/net/wireless/p54/p54spi.c +1 -1
@@ -641,7 +641,7 @@ static int __devinit p54spi_probe(struct spi_device *spi)gpio_direction_input (p54spi_gpio_irq); ret =request_irq (gpio_to_irq (p54spi_gpio_irq), - p54spi_interrupt,IRQF_DISABLED ,"p54spi" , + p54spi_interrupt,0 ,"p54spi" , priv->spi);if (ret <0 ) {dev_err (&priv->spi->dev,"request_irq() failed" );
include/net/irda/irda_device.h +1 -1
@@ -162,7 +162,7 @@ typedef struct {int irq, irq2;/* Interrupts used */ int dma, dma2;/* DMA channel(s) used */ int fifo_size;/* FIFO size */ -int irqflags;/* interrupt flags (ie, IRQF_SHARED|IRQF_DISABLED) */ +int irqflags;/* interrupt flags (ie, IRQF_SHARED) */ int direction;/* Link direction, used by some FIR drivers */ int enabled;/* Powered on? */ int suspended;/* Suspended by APM */
Signature · 1 line
1.7.1
PATCH v3 36/49 dirvers/parisc: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/parisc/superio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/parisc/superio.c +1 -1
@@ -274,7 +274,7 @@ superio_init(struct pci_dev *pcidev)else printk(KERN_ERR PFX "USB regulator not initialized!\n"); -if (request_irq (pdev->irq, superio_interrupt,IRQF_DISABLED , +if (request_irq (pdev->irq, superio_interrupt,0 ,SUPERIO , (void *)sio)) { printk(KERN_ERR PFX "could not get irq\n");
Signature · 1 line
1.7.1
PATCH v3 37/49 pcmcia: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/pcmcia/db1xxx_ss.c | 4 ++-- drivers/pcmcia/soc_common.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/pcmcia/db1xxx_ss.c +2 -2
@@ -162,12 +162,12 @@ static int db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock)*/ if (sock->board_type ==BOARD_TYPE_DB1200 ) { ret =request_irq (sock->insert_irq, db1200_pcmcia_cdirq, -IRQF_DISABLED ,"pcmcia_insert" , sock); +0 ,"pcmcia_insert" , sock);if (ret) goto out1; ret =request_irq (sock->eject_irq, db1200_pcmcia_cdirq, -IRQF_DISABLED ,"pcmcia_eject" , sock); +0 ,"pcmcia_eject" , sock);if (ret) {free_irq (sock->insert_irq, sock); goto out1;
drivers/pcmcia/soc_common.c +1 -1
@@ -535,7 +535,7 @@ int soc_pcmcia_request_irqs(struct soc_pcmcia_socket *skt,if (irqs[i].sock != skt->nr)continue ; res =request_irq (irqs[i].irq, soc_common_pcmcia_interrupt, -IRQF_DISABLED , irqs[i].str, skt); +0 , irqs[i].str, skt);if (res)break ;irq_set_irq_type (irqs[i].irq,IRQ_TYPE_NONE );
Signature · 1 line
1.7.1
Re: [PATCH 37/49] pcmcia: irq: Remove IRQF_DISABLED
Quoted 10 lines · Yong Zhang
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>Acked-by Wolfram Sang <[email protected]>
Applied, thanks.
Best
Dominik
PATCH v3 38/49 sony-laptop:irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/platform/x86/sony-laptop.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/platform/x86/sony-laptop.c +1 -1
@@ -3281,7 +3281,7 @@ static int sony_pic_add(struct acpi_device *device)/* request IRQ */ list_for_each_entry_reverse (irq, &spic_dev.interrupts, list) {if (!request_irq (irq->irq.interrupts[0 ], sony_pic_irq, -IRQF_DISABLED ,"sony-laptop" , &spic_dev)) { +0 ,"sony-laptop" , &spic_dev)) { dprintk("IRQ: %d - triggering: %d - " "polarity: %d - shr: %d\n", irq->irq.interrupts[0],
Signature · 1 line
1.7.1
PATCH v3 39/49 PNP: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/pnp/resource.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/pnp/resource.c +1 -1
@@ -385,7 +385,7 @@ int pnp_check_irq(struct pnp_dev *dev, struct resource *res)* device is active because it itself may be in use */ if (!dev->active) {if (request_irq (*irq, pnp_test_handler, -IRQF_DISABLED |IRQF_PROBE_SHARED ,"pnp" ,NULL )) +IRQF_PROBE_SHARED ,"pnp" ,NULL ))return 0 ;free_irq (*irq,NULL ); }
Signature · 1 line
1.7.1
PATCH v3 40/49 power_supply:irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/power/wm97xx_battery.c | 2 +- drivers/power/z2_battery.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/power/wm97xx_battery.c +1 -1
@@ -196,7 +196,7 @@ static int __devinit wm97xx_bat_probe(struct platform_device *dev)if (ret) goto err2; ret =request_irq (gpio_to_irq (pdata->charge_gpio), - wm97xx_chrg_irq,IRQF_DISABLED , + wm97xx_chrg_irq,0 ,"AC Detect" , dev);if (ret) goto err2;
drivers/power/z2_battery.c +1 -1
@@ -218,7 +218,7 @@ static int __devinit z2_batt_probe(struct i2c_client *client,irq_set_irq_type (gpio_to_irq (info->charge_gpio),IRQ_TYPE_EDGE_BOTH ); ret =request_irq (gpio_to_irq (info->charge_gpio), - z2_charge_switch_irq,IRQF_DISABLED , + z2_charge_switch_irq,0 ,"AC Detect" , charger);if (ret) goto err3;
Signature · 1 line
1.7.1
PATCH v3 41/49 powerpc/ps3: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/ps3/ps3-vuart.c | 2 +- drivers/ps3/ps3stor_lib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/ps3/ps3-vuart.c +1 -1
@@ -952,7 +952,7 @@ static int ps3_vuart_bus_interrupt_get(void) } result =request_irq (vuart_bus_priv.virq, ps3_vuart_irq_handler, -IRQF_DISABLED ,"vuart" , &vuart_bus_priv); +0 ,"vuart" , &vuart_bus_priv);if (result) { pr_debug("%s:%d: request_irq failed (%d)\n",
drivers/ps3/ps3stor_lib.c +1 -1
@@ -167,7 +167,7 @@ int ps3stor_setup(struct ps3_storage_device *dev, irq_handler_t handler) goto fail_close_device; } - error =request_irq (dev->irq, handler,IRQF_DISABLED , + error =request_irq (dev->irq, handler,0 , dev->sbd.core.driver->name, dev);if (error) { dev_err(&dev->sbd.core, "%s:%u: request_irq failed %d\n",
Signature · 1 line
1.7.1
PATCH v3 42/49 rtc: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/rtc/rtc-at91sam9.c | 2 +- drivers/rtc/rtc-cmos.c | 2 +- drivers/rtc/rtc-coh901331.c | 2 +- drivers/rtc/rtc-davinci.c | 2 +- drivers/rtc/rtc-ds1511.c | 2 +- drivers/rtc/rtc-ds1553.c | 2 +- drivers/rtc/rtc-lpc32xx.c | 2 +- drivers/rtc/rtc-mpc5121.c | 4 ++-- drivers/rtc/rtc-mrst.c | 2 +- drivers/rtc/rtc-mv.c | 2 +- drivers/rtc/rtc-nuc900.c | 2 +- drivers/rtc/rtc-omap.c | 4 ++-- drivers/rtc/rtc-pl030.c | 2 +- drivers/rtc/rtc-pl031.c | 2 +- drivers/rtc/rtc-puv3.c | 4 ++-- drivers/rtc/rtc-pxa.c | 4 ++-- drivers/rtc/rtc-s3c.c | 4 ++-- drivers/rtc/rtc-sa1100.c | 4 ++-- drivers/rtc/rtc-sh.c | 8 ++++---- drivers/rtc/rtc-stk17ta8.c | 2 +- drivers/rtc/rtc-tx4939.c | 2 +- drivers/rtc/rtc-vr41xx.c | 4 ++-- 22 files changed, 32 insertions(+), 32 deletions(-)
drivers/rtc/rtc-at91sam9.c +1 -1
@@ -331,7 +331,7 @@ static int __init at91_rtc_probe(struct platform_device *pdev)/* register irq handler after we know what name we'll use */ ret =request_irq (AT91_ID_SYS , at91_rtc_interrupt, -IRQF_DISABLED |IRQF_SHARED , +IRQF_SHARED ,dev_name (&rtc->rtcdev->dev), rtc);if (ret) {dev_dbg (&pdev->dev,"can't share IRQ %d?\n" ,AT91_ID_SYS );
drivers/rtc/rtc-cmos.c +1 -1
@@ -714,7 +714,7 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) rtc_cmos_int_handler = cmos_interrupt; retval =request_irq (rtc_irq, rtc_cmos_int_handler, -IRQF_DISABLED ,dev_name (&cmos_rtc.rtc->dev), +0 ,dev_name (&cmos_rtc.rtc->dev), cmos_rtc.rtc);if (retval <0 ) {dev_dbg (dev,"IRQ %d is already in use\n" , rtc_irq);
drivers/rtc/rtc-coh901331.c +1 -1
@@ -199,7 +199,7 @@ static int __init coh901331_probe(struct platform_device *pdev) } rtap->irq =platform_get_irq (pdev,0 ); -if (request_irq (rtap->irq, coh901331_interrupt,IRQF_DISABLED , +if (request_irq (rtap->irq, coh901331_interrupt,0 ,"RTC COH 901 331 Alarm" , rtap)) { ret = -EIO ; goto out_no_irq;
drivers/rtc/rtc-davinci.c +1 -1
@@ -542,7 +542,7 @@ static int __init davinci_rtc_probe(struct platform_device *pdev)rtcss_write (davinci_rtc,0 ,PRTCSS_RTC_CCTRL ); ret =request_irq (davinci_rtc->irq, davinci_rtc_interrupt, -IRQF_DISABLED ,"davinci_rtc" , davinci_rtc); +0 ,"davinci_rtc" , davinci_rtc);if (ret <0 ) {dev_err (dev,"unable to register davinci RTC interrupt\n" ); goto fail4;
drivers/rtc/rtc-ds1511.c +1 -1
@@ -532,7 +532,7 @@ ds1511_rtc_probe(struct platform_device *pdev)if (pdata->irq >0 ) {rtc_read (RTC_CMD1 );if (devm_request_irq (&pdev->dev, pdata->irq, ds1511_interrupt, -IRQF_DISABLED |IRQF_SHARED , pdev->name, pdev) <0 ) { +IRQF_SHARED , pdev->name, pdev) <0 ) {dev_warn (&pdev->dev,"interrupt not available.\n" ); pdata->irq =0 ;
drivers/rtc/rtc-ds1553.c +1 -1
@@ -320,7 +320,7 @@ static int __devinit ds1553_rtc_probe(struct platform_device *pdev)writeb (0 , ioaddr +RTC_INTERRUPTS );if (devm_request_irq (&pdev->dev, pdata->irq, ds1553_rtc_interrupt, -IRQF_DISABLED , pdev->name, pdev) <0 ) { +0 , pdev->name, pdev) <0 ) {dev_warn (&pdev->dev,"interrupt not available.\n" ); pdata->irq =0 ; }
drivers/rtc/rtc-lpc32xx.c +1 -1
@@ -287,7 +287,7 @@ static int __devinit lpc32xx_rtc_probe(struct platform_device *pdev)if (rtc->irq >=0 ) {if (devm_request_irq (&pdev->dev, rtc->irq, lpc32xx_rtc_alarm_interrupt, -IRQF_DISABLED , pdev->name, rtc) <0 ) { +0 , pdev->name, rtc) <0 ) {dev_warn (&pdev->dev,"Can't request interrupt.\n" ); rtc->irq =-1 ; }else {
drivers/rtc/rtc-mpc5121.c +2 -2
@@ -327,7 +327,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op)dev_set_drvdata (&op->dev, rtc); rtc->irq =irq_of_parse_and_map (op->dev.of_node,1 ); - err =request_irq (rtc->irq, mpc5121_rtc_handler,IRQF_DISABLED , + err =request_irq (rtc->irq, mpc5121_rtc_handler,0 ,"mpc5121-rtc" , &op->dev);if (err) { dev_err(&op->dev, "%s: could not request irq: %i\n",
@@ -337,7 +337,7 @@ static int __devinit mpc5121_rtc_probe(struct platform_device *op) rtc->irq_periodic =irq_of_parse_and_map (op->dev.of_node,0 ); err =request_irq (rtc->irq_periodic, mpc5121_rtc_handler_upd, -IRQF_DISABLED ,"mpc5121-rtc_upd" , &op->dev); +0 ,"mpc5121-rtc_upd" , &op->dev);if (err) {dev_err (&op->dev,"%s: could not request irq: %i\n" , __func__, rtc->irq_periodic);
drivers/rtc/rtc-mrst.c +1 -1
@@ -366,7 +366,7 @@ vrtc_mrst_do_probe(struct device *dev, struct resource *iomem, int rtc_irq)if (rtc_irq) { retval =request_irq (rtc_irq, mrst_rtc_irq, -IRQF_DISABLED ,dev_name (&mrst_rtc.rtc->dev), +0 ,dev_name (&mrst_rtc.rtc->dev), mrst_rtc.rtc);if (retval <0 ) { dev_dbg(dev, "IRQ %d is already in use, err %d\n",
drivers/rtc/rtc-mv.c +1 -1
@@ -273,7 +273,7 @@ static int __devinit mv_rtc_probe(struct platform_device *pdev)if (pdata->irq >=0 ) {writel (0 , pdata->ioaddr +RTC_ALARM_INTERRUPT_MASK_REG_OFFS );if (devm_request_irq (&pdev->dev, pdata->irq, mv_rtc_interrupt, -IRQF_DISABLED |IRQF_SHARED , +IRQF_SHARED , pdev->name, pdata) <0 ) {dev_warn (&pdev->dev,"interrupt not available.\n" ); pdata->irq =-1 ;
drivers/rtc/rtc-nuc900.c +1 -1
@@ -269,7 +269,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev) nuc900_rtc->irq_num =platform_get_irq (pdev,0 );if (request_irq (nuc900_rtc->irq_num, nuc900_rtc_interrupt, -IRQF_DISABLED ,"nuc900rtc" , nuc900_rtc)) { +0 ,"nuc900rtc" , nuc900_rtc)) {dev_err (&pdev->dev,"NUC900 RTC request irq failed\n" ); err = -EBUSY ; goto fail4;
drivers/rtc/rtc-omap.c +2 -2
@@ -348,14 +348,14 @@ static int __init omap_rtc_probe(struct platform_device *pdev)rtc_write (OMAP_RTC_STATUS_ALARM ,OMAP_RTC_STATUS_REG );/* handle periodic and alarm irqs */ -if (request_irq (omap_rtc_timer, rtc_irq,IRQF_DISABLED , +if (request_irq (omap_rtc_timer, rtc_irq,0 ,dev_name (&rtc->dev), rtc)) {pr_debug ("%s: RTC timer interrupt IRQ%d already claimed\n" , pdev->name, omap_rtc_timer); goto fail1; }if ((omap_rtc_timer != omap_rtc_alarm) && - (request_irq (omap_rtc_alarm, rtc_irq,IRQF_DISABLED , + (request_irq (omap_rtc_alarm, rtc_irq,0 ,dev_name (&rtc->dev), rtc))) {pr_debug ("%s: RTC alarm interrupt IRQ%d already claimed\n" , pdev->name, omap_rtc_alarm);
drivers/rtc/rtc-pl030.c +1 -1
@@ -123,7 +123,7 @@ static int pl030_probe(struct amba_device *dev, const struct amba_id *id)amba_set_drvdata (dev, rtc); - ret =request_irq (dev->irq[0 ], pl030_interrupt,IRQF_DISABLED , + ret =request_irq (dev->irq[0 ], pl030_interrupt,0 ,"rtc-pl030" , rtc);if (ret) goto err_irq;
drivers/rtc/rtc-pl031.c +1 -1
@@ -352,7 +352,7 @@ static int pl031_probe(struct amba_device *adev, const struct amba_id *id) }if (request_irq (adev->irq[0 ], pl031_interrupt, -IRQF_DISABLED ,"rtc-pl031" , ldata)) { +0 ,"rtc-pl031" , ldata)) { ret = -EIO ; goto out_no_irq; }
drivers/rtc/rtc-puv3.c +2 -2
@@ -164,7 +164,7 @@ static int puv3_rtc_open(struct device *dev)int ret; ret =request_irq (puv3_rtc_alarmno, puv3_rtc_alarmirq, -IRQF_DISABLED ,"pkunity-rtc alarm" , rtc_dev); +0 ,"pkunity-rtc alarm" , rtc_dev);if (ret) {dev_err (dev,"IRQ%d error %d\n" , puv3_rtc_alarmno, ret);
@@ -172,7 +172,7 @@ static int puv3_rtc_open(struct device *dev) } ret =request_irq (puv3_rtc_tickno, puv3_rtc_tickirq, -IRQF_DISABLED ,"pkunity-rtc tick" , rtc_dev); +0 ,"pkunity-rtc tick" , rtc_dev);if (ret) {dev_err (dev,"IRQ%d error %d\n" , puv3_rtc_tickno, ret);
drivers/rtc/rtc-pxa.c +2 -2
@@ -174,14 +174,14 @@ static int pxa_rtc_open(struct device *dev)struct pxa_rtc *pxa_rtc =dev_get_drvdata (dev);int ret; - ret =request_irq (pxa_rtc->irq_1Hz, pxa_rtc_irq,IRQF_DISABLED , + ret =request_irq (pxa_rtc->irq_1Hz, pxa_rtc_irq,0 ,"rtc 1Hz" , dev);if (ret <0 ) {dev_err (dev,"can't get irq %i, err %d\n" , pxa_rtc->irq_1Hz, ret); goto err_irq_1Hz; } - ret =request_irq (pxa_rtc->irq_Alrm, pxa_rtc_irq,IRQF_DISABLED , + ret =request_irq (pxa_rtc->irq_Alrm, pxa_rtc_irq,0 ,"rtc Alrm" , dev);if (ret <0 ) { dev_err(dev, "can't get irq %i, err %d\n", pxa_rtc->irq_Alrm,
drivers/rtc/rtc-s3c.c +2 -2
@@ -536,14 +536,14 @@ static int __devinit s3c_rtc_probe(struct platform_device *pdev)s3c_rtc_setfreq (&pdev->dev,1 ); ret =request_irq (s3c_rtc_alarmno, s3c_rtc_alarmirq, -IRQF_DISABLED ,"s3c2410-rtc alarm" , rtc); +0 ,"s3c2410-rtc alarm" , rtc);if (ret) {dev_err (&pdev->dev,"IRQ%d error %d\n" , s3c_rtc_alarmno, ret); goto err_alarm_irq; } ret =request_irq (s3c_rtc_tickno, s3c_rtc_tickirq, -IRQF_DISABLED ,"s3c2410-rtc tick" , rtc); +0 ,"s3c2410-rtc tick" , rtc);if (ret) {dev_err (&pdev->dev,"IRQ%d error %d\n" , s3c_rtc_tickno, ret);free_irq (s3c_rtc_alarmno, rtc);
drivers/rtc/rtc-sa1100.c +2 -2
@@ -161,13 +161,13 @@ static int sa1100_rtc_open(struct device *dev)struct platform_device *plat_dev =to_platform_device (dev);struct rtc_device *rtc =platform_get_drvdata (plat_dev); - ret =request_irq (IRQ_RTC1Hz, sa1100_rtc_interrupt,IRQF_DISABLED , + ret =request_irq (IRQ_RTC1Hz, sa1100_rtc_interrupt,0 ,"rtc 1Hz" , dev);if (ret) {dev_err (dev,"IRQ %d already in use.\n" , IRQ_RTC1Hz); goto fail_ui; } - ret =request_irq (IRQ_RTCAlrm, sa1100_rtc_interrupt,IRQF_DISABLED , + ret =request_irq (IRQ_RTCAlrm, sa1100_rtc_interrupt,0 ,"rtc Alrm" , dev);if (ret) {dev_err (dev,"IRQ %d already in use.\n" , IRQ_RTCAlrm);
drivers/rtc/rtc-sh.c +4 -4
@@ -666,7 +666,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev)if (rtc->carry_irq <=0 ) {/* register shared periodic/carry/alarm irq */ ret =request_irq (rtc->periodic_irq, sh_rtc_shared, -IRQF_DISABLED ,"sh-rtc" , rtc); +0 ,"sh-rtc" , rtc);if (unlikely (ret)) { dev_err(&pdev->dev, "request IRQ failed with %d, IRQ %d\n", ret,
@@ -676,7 +676,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) }else {/* register periodic/carry/alarm irqs */ ret =request_irq (rtc->periodic_irq, sh_rtc_periodic, -IRQF_DISABLED ,"sh-rtc period" , rtc); +0 ,"sh-rtc period" , rtc);if (unlikely (ret)) { dev_err(&pdev->dev, "request period IRQ failed with %d, IRQ %d\n",
@@ -685,7 +685,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) } ret =request_irq (rtc->carry_irq, sh_rtc_interrupt, -IRQF_DISABLED ,"sh-rtc carry" , rtc); +0 ,"sh-rtc carry" , rtc);if (unlikely (ret)) { dev_err(&pdev->dev, "request carry IRQ failed with %d, IRQ %d\n",
@@ -695,7 +695,7 @@ static int __init sh_rtc_probe(struct platform_device *pdev) } ret =request_irq (rtc->alarm_irq, sh_rtc_alarm, -IRQF_DISABLED ,"sh-rtc alarm" , rtc); +0 ,"sh-rtc alarm" , rtc);if (unlikely (ret)) { dev_err(&pdev->dev, "request alarm IRQ failed with %d, IRQ %d\n",
drivers/rtc/rtc-stk17ta8.c +1 -1
@@ -329,7 +329,7 @@ static int __devinit stk17ta8_rtc_probe(struct platform_device *pdev)writeb (0 , ioaddr +RTC_INTERRUPTS );if (devm_request_irq (&pdev->dev, pdata->irq, stk17ta8_rtc_interrupt, -IRQF_DISABLED |IRQF_SHARED , +IRQF_SHARED , pdev->name, pdev) <0 ) {dev_warn (&pdev->dev,"interrupt not available.\n" ); pdata->irq =0 ;
drivers/rtc/rtc-tx4939.c +1 -1
@@ -266,7 +266,7 @@ static int __init tx4939_rtc_probe(struct platform_device *pdev)spin_lock_init (&pdata->lock);tx4939_rtc_cmd (pdata->rtcreg,TX4939_RTCCTL_COMMAND_NOP );if (devm_request_irq (&pdev->dev, irq, tx4939_rtc_interrupt, -IRQF_DISABLED , pdev->name, &pdev->dev) <0 ) +0 , pdev->name, &pdev->dev) <0 )return -EBUSY ; rtc =rtc_device_register (pdev->name, &pdev->dev, &tx4939_rtc_ops,THIS_MODULE );
drivers/rtc/rtc-vr41xx.c +2 -2
@@ -333,7 +333,7 @@ static int __devinit rtc_probe(struct platform_device *pdev) goto err_device_unregister; } - retval =request_irq (aie_irq, elapsedtime_interrupt,IRQF_DISABLED , + retval =request_irq (aie_irq, elapsedtime_interrupt,0 ,"elapsed_time" , pdev);if (retval <0 ) goto err_device_unregister;
@@ -342,7 +342,7 @@ static int __devinit rtc_probe(struct platform_device *pdev)if (pie_irq <=0 ) goto err_free_irq; - retval =request_irq (pie_irq, rtclong1_interrupt,IRQF_DISABLED , + retval =request_irq (pie_irq, rtclong1_interrupt,0 ,"rtclong1" , pdev);if (retval <0 ) goto err_free_irq;
Signature · 1 line
1.7.1
PATCH v3 43/49 spi: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/spi/spi-bfin5xx.c | 2 +- drivers/spi/spi-coldfire-qspi.c | 2 +- drivers/spi/spi-ppc4xx.c | 2 +- drivers/spi/spi-sh-msiof.c | 2 +- drivers/spi/spi-sh.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
drivers/spi/spi-bfin5xx.c +1 -1
@@ -1098,7 +1098,7 @@ static int bfin_spi_setup(struct spi_device *spi)if (chip->pio_interrupt && !drv_data->irq_requested) { ret =request_irq (drv_data->spi_irq, bfin_spi_pio_irq_handler, -IRQF_DISABLED ,"BFIN_SPI" , drv_data); +0 ,"BFIN_SPI" , drv_data);if (ret) {dev_err (&spi->dev,"Unable to register spi IRQ\n" ); goto error;
drivers/spi/spi-coldfire-qspi.c +1 -1
@@ -487,7 +487,7 @@ static int __devinit mcfqspi_probe(struct platform_device *pdev) goto fail2; } - status =request_irq (mcfqspi->irq, mcfqspi_irq_handler,IRQF_DISABLED , + status =request_irq (mcfqspi->irq, mcfqspi_irq_handler,0 , pdev->name, mcfqspi);if (status) {dev_dbg (&pdev->dev,"request_irq failed\n" );
drivers/spi/spi-ppc4xx.c +1 -1
@@ -514,7 +514,7 @@ static int __init spi_ppc4xx_of_probe(struct platform_device *op)/* Request IRQ */ hw->irqnum =irq_of_parse_and_map (np,0 ); ret =request_irq (hw->irqnum, spi_ppc4xx_int, -IRQF_DISABLED ,"spi_ppc4xx_of" , (void *)hw); +0 ,"spi_ppc4xx_of" , (void *)hw);if (ret) {dev_err (dev,"unable to allocate interrupt\n" ); goto free_gpios;
drivers/spi/spi-sh-msiof.c +1 -1
@@ -636,7 +636,7 @@ static int sh_msiof_spi_probe(struct platform_device *pdev) goto err2; } - ret =request_irq (i, sh_msiof_spi_irq,IRQF_DISABLED , + ret =request_irq (i, sh_msiof_spi_irq,0 ,dev_name (&pdev->dev), p);if (ret) {dev_err (&pdev->dev,"unable to request irq\n" );
drivers/spi/spi-sh.c +1 -1
@@ -484,7 +484,7 @@ static int __devinit spi_sh_probe(struct platform_device *pdev) goto error2; } - ret =request_irq (irq, spi_sh_irq,IRQF_DISABLED ,"spi_sh" , ss); + ret =request_irq (irq, spi_sh_irq,0 ,"spi_sh" , ss);if (ret <0 ) {dev_err (&pdev->dev,"request_irq error\n" ); goto error3;
Signature · 1 line
1.7.1
Grant Likely
AppliedRe: [PATCH 43/49] spi: irq: Remove IRQF_DISABLED
Quoted 10 lines · Yong Zhang
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang <[email protected]>Acked-by Grant Likely <[email protected]>
Applied, thanks.
g.
Quoted 76 lines
--- drivers/spi/spi-bfin5xx.c | 2 +- drivers/spi/spi-coldfire-qspi.c | 2 +- drivers/spi/spi-ppc4xx.c | 2 +- drivers/spi/spi-sh-msiof.c | 2 +- drivers/spi/spi-sh.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)drivers/spi/spi-bfin5xx.c +1
-1@@ -1098,7 +1098,7 @@ static int bfin_spi_setup(struct spi_device *spi)if (chip->pio_interrupt && !drv_data->irq_requested) { ret =request_irq (drv_data->spi_irq, bfin_spi_pio_irq_handler, -IRQF_DISABLED ,"BFIN_SPI" , drv_data); +0 ,"BFIN_SPI" , drv_data);if (ret) {dev_err (&spi->dev,"Unable to register spi IRQ\n" ); goto error;drivers/spi/spi-coldfire-qspi.c +1
-1@@ -487,7 +487,7 @@ static int __devinit mcfqspi_probe(struct platform_device *pdev) goto fail2; } - status =request_irq (mcfqspi->irq, mcfqspi_irq_handler,IRQF_DISABLED , + status =request_irq (mcfqspi->irq, mcfqspi_irq_handler,0 , pdev->name, mcfqspi);if (status) {dev_dbg (&pdev->dev,"request_irq failed\n" );drivers/spi/spi-ppc4xx.c +1
-1@@ -514,7 +514,7 @@ static int __init spi_ppc4xx_of_probe(struct platform_device *op)/* Request IRQ */ hw->irqnum =irq_of_parse_and_map (np,0 ); ret =request_irq (hw->irqnum, spi_ppc4xx_int, -IRQF_DISABLED ,"spi_ppc4xx_of" , (void *)hw); +0 ,"spi_ppc4xx_of" , (void *)hw);if (ret) {dev_err (dev,"unable to allocate interrupt\n" ); goto free_gpios;drivers/spi/spi-sh-msiof.c +1
-1@@ -636,7 +636,7 @@ static int sh_msiof_spi_probe(struct platform_device *pdev) goto err2; } - ret =request_irq (i, sh_msiof_spi_irq,IRQF_DISABLED , + ret =request_irq (i, sh_msiof_spi_irq,0 ,dev_name (&pdev->dev), p);if (ret) {dev_err (&pdev->dev,"unable to request irq\n" );drivers/spi/spi-sh.c +1
-1@@ -484,7 +484,7 @@ static int __devinit spi_sh_probe(struct platform_device *pdev) goto error2; } - ret =request_irq (irq, spi_sh_irq,IRQF_DISABLED ,"spi_sh" , ss); + ret =request_irq (irq, spi_sh_irq,0 ,"spi_sh" , ss);if (ret <0 ) {dev_err (&pdev->dev,"request_irq error\n" ); goto error3;Signature · 1 line
1.7.1
PATCH v3 44/49 w1: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/w1/masters/ds1wm.c | 2 +- drivers/w1/masters/omap_hdq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/w1/masters/ds1wm.c +1 -1
@@ -502,7 +502,7 @@ static int ds1wm_probe(struct platform_device *pdev)irq_set_irq_type (ds1wm_data->irq,IRQ_TYPE_EDGE_FALLING ); ret =request_irq (ds1wm_data->irq, ds1wm_isr, -IRQF_DISABLED |IRQF_SHARED ,"ds1wm" , ds1wm_data); +IRQF_SHARED ,"ds1wm" , ds1wm_data);if (ret) goto err1;
drivers/w1/masters/omap_hdq.c +1 -1
@@ -633,7 +633,7 @@ static int __devinit omap_hdq_probe(struct platform_device *pdev) goto err_irq; } - ret =request_irq (irq, hdq_isr,IRQF_DISABLED ,"omap_hdq" , hdq_data); + ret =request_irq (irq, hdq_isr,0 ,"omap_hdq" , hdq_data);if (ret <0 ) {dev_dbg (&pdev->dev,"could not request irq\n" ); goto err_irq;
Signature · 1 line
1.7.1
PATCH v3 45/49 watchdog: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/watchdog/coh901327_wdt.c | 2 +- drivers/watchdog/eurotechwdt.c | 2 +- drivers/watchdog/mpcore_wdt.c | 3 +-- drivers/watchdog/octeon-wdt-main.c | 2 +- drivers/watchdog/sb_wdog.c | 4 ++-- drivers/watchdog/wdt.c | 2 +- drivers/watchdog/wdt_pci.c | 2 +- 7 files changed, 8 insertions(+), 9 deletions(-)
drivers/watchdog/coh901327_wdt.c +1 -1
@@ -429,7 +429,7 @@ static int __init coh901327_probe(struct platform_device *pdev)writew (U300_WDOG_SR_RESET_STATUS_RESET , virtbase +U300_WDOG_SR ); irq =platform_get_irq (pdev,0 ); -if (request_irq (irq, coh901327_interrupt,IRQF_DISABLED , +if (request_irq (irq, coh901327_interrupt,0 ,DRV_NAME " Bark" , pdev)) { ret = -EIO ; goto out_no_irq;
drivers/watchdog/eurotechwdt.c +1 -1
@@ -427,7 +427,7 @@ static int __init eurwdt_init(void) {int ret; - ret =request_irq (irq, eurwdt_interrupt,IRQF_DISABLED ,"eurwdt" ,NULL ); + ret =request_irq (irq, eurwdt_interrupt,0 ,"eurwdt" ,NULL );if (ret) {printk (KERN_ERR "eurwdt: IRQ %d is not free.\n" , irq); goto out;
drivers/watchdog/mpcore_wdt.c +1 -2
@@ -367,8 +367,7 @@ static int __devinit mpcore_wdt_probe(struct platform_device *dev) goto err_misc; } - ret =request_irq (wdt->irq, mpcore_wdt_fire,IRQF_DISABLED , -"mpcore_wdt" , wdt); + ret =request_irq (wdt->irq, mpcore_wdt_fire,0 ,"mpcore_wdt" , wdt);if (ret) {dev_printk (KERN_ERR , wdt->dev,"cannot register IRQ%d for watchdog\n" , wdt->irq);
drivers/watchdog/octeon-wdt-main.c +1 -1
@@ -402,7 +402,7 @@ static void octeon_wdt_setup_interrupt(int cpu) irq =OCTEON_IRQ_WDOG0 + core;if (request_irq (irq, octeon_wdt_poke_irq, -IRQF_DISABLED ,"octeon_wdt" , octeon_wdt_poke_irq)) +0 ,"octeon_wdt" , octeon_wdt_poke_irq))panic ("octeon_wdt: Couldn't obtain irq %d" , irq);cpumask_set_cpu (cpu, &irq_enabled_cpus);
drivers/watchdog/sb_wdog.c +2 -2
@@ -300,7 +300,7 @@ static int __init sbwdog_init(void)* get the resources */ - ret =request_irq (1 , sbwdog_interrupt,IRQF_DISABLED |IRQF_SHARED , + ret =request_irq (1 , sbwdog_interrupt,IRQF_SHARED , ident.identity, (void *)user_dog);if (ret) { printk(KERN_ERR "%s: failed to request irq 1 - %d\n",
@@ -350,7 +350,7 @@ void platform_wd_setup(void) {int ret; - ret =request_irq (1 , sbwdog_interrupt,IRQF_DISABLED |IRQF_SHARED , + ret =request_irq (1 , sbwdog_interrupt,IRQF_SHARED ,"Kernel Watchdog" ,IOADDR (A_SCD_WDOG_CFG_0 ));if (ret) { printk(KERN_CRIT
drivers/watchdog/wdt.c +1 -1
@@ -612,7 +612,7 @@ static int __init wdt_init(void) goto out; } - ret =request_irq (irq, wdt_interrupt,IRQF_DISABLED ,"wdt501p" ,NULL ); + ret =request_irq (irq, wdt_interrupt,0 ,"wdt501p" ,NULL );if (ret) {printk (KERN_ERR "wdt: IRQ %d is not free.\n" , irq); goto outreg;
drivers/watchdog/wdt_pci.c +1 -1
@@ -643,7 +643,7 @@ static int __devinit wdtpci_init_one(struct pci_dev *dev, irq = dev->irq; io =pci_resource_start (dev,2 ); -if (request_irq (irq, wdtpci_interrupt,IRQF_DISABLED |IRQF_SHARED , +if (request_irq (irq, wdtpci_interrupt,IRQF_SHARED ,"wdt_pci" , &wdtpci_miscdev)) { printk(KERN_ERR PFX "IRQ %d is not free\n", irq); goto out_reg;
Signature · 1 line
1.7.1
PATCH v3 46/49 xen: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/xen/evtchn.c | 2 +- drivers/xen/platform-pci.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/xen/evtchn.c +1 -1
@@ -265,7 +265,7 @@ static int evtchn_bind_to_user(struct per_user_data *u, int port)set_port_user (port, u);set_port_enabled (port, true);/* start enabled */ - rc =bind_evtchn_to_irqhandler (port, evtchn_interrupt,IRQF_DISABLED , + rc =bind_evtchn_to_irqhandler (port, evtchn_interrupt,0 , u->name, (void *)(unsigned long )port);if (rc >=0 ) rc =0 ;
drivers/xen/platform-pci.c +1 -1
@@ -84,7 +84,7 @@ static irqreturn_t do_hvm_evtchn_intr(int irq, void *dev_id)static int xen_allocate_irq (struct pci_dev *pdev) {return request_irq (pdev->irq, do_hvm_evtchn_intr, -IRQF_DISABLED |IRQF_NOBALANCING |IRQF_TRIGGER_RISING , +IRQF_NOBALANCING |IRQF_TRIGGER_RISING ,"xen-platform-pci" , pdev); }
Signature · 1 line
1.7.1
PATCH v3 47/49 Documentation: irq: Change documents related to IRQF_DISABLED
In reply to Yong ZhangIRQF_DISABLED is a NOOP now, place where suggest to use this flag also doesn't make sense any more.
--- Documentation/PCI/MSI-HOWTO.txt | 21 --------------------- Documentation/scsi/ncr53c8xx.txt | 3 ++- Documentation/scsi/tmscsim.txt | 4 ++-- 3 files changed, 4 insertions(+), 24 deletions(-)
Documentation/PCI/MSI-HOWTO.txt +0 -21
@@ -255,27 +255,6 @@ as many vectors for MSI as it could for MSI-X. On some platforms, MSI interrupts must all be targeted at the same set of CPUs whereas MSI-X interrupts can all be targeted at different CPUs. -4.5.2 Spinlocks - -Most device drivers have a per-device spinlock which is taken in the -interrupt handler. With pin-based interrupts or a single MSI, it is not -necessary to disable interrupts (Linux guarantees the same interrupt will -not be re-entered). If a device uses multiple interrupts, the driver -must disable interrupts while the lock is held. If the device sends -a different interrupt, the driver will deadlock trying to recursively -acquire the spinlock. - -There are two solutions. The first is to take the lock with -spin_lock_irqsave() or spin_lock_irq() (see -Documentation/DocBook/kernel-locking). The second is to specify -IRQF_DISABLED to request_irq() so that the kernel runs the entire -interrupt routine with interrupts disabled. - -If your MSI interrupt routine does not hold the lock for the whole time -it is running, the first solution may be best. The second solution is -normally preferred as it avoids making two transitions from interrupt -disabled to enabled and back again. - 4.6 How to tell whether MSI/MSI-X is enabled on a device Using 'lspci -v' (as root) may show some devices with "MSI", "Message
Documentation/scsi/ncr53c8xx.txt +2 -1
@@ -786,7 +786,8 @@ port address 0x1400. irqm:1 same as initial settings (assumed BIOS settings) irqm:2 always totem pole irqm:0x10 driver will not use IRQF_SHARED flag when requesting irq - irqm:0x20 driver will not use IRQF_DISABLED flag when requesting irq + irqm:0x20 driver will not use IRQF_DISABLED flag when requesting + irq (only useful for linux-2.6.34 and earlier) (Bits 0x10 and 0x20 can be combined with hardware irq mode option)
Documentation/scsi/tmscsim.txt +2 -2
@@ -108,8 +108,8 @@ MHz PCI bus works for me, though, but I don't recommend using higher clocks than the 33.33 MHz being in the PCI spec. If you want to share the IRQ with another device and the driver refuses to -do so, you might succeed with changing the DC390_IRQ type in tmscsim.c to -IRQF_SHARED | IRQF_DISABLED. +do so, you should find out what's the mismatch between the shared IRQs, +and CONFIG_DEBUG_SHIRQ may give you more help. 3.Features
Signature · 1 line
1.7.1
PATCH v3 48/49 USB: pxa168: xls: irq: Remove IRQF_DISABLED
In reply to Yong ZhangSince commit [e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).
So now this flag is a NOOP and can be removed.
--- drivers/usb/host/ehci-pxa168.c | 2 +- drivers/usb/host/ohci-xls.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/host/ehci-pxa168.c +1 -1
@@ -304,7 +304,7 @@ static int __devinit ehci_pxa168_drv_probe(struct platform_device *pdev) hcd->has_tt =1 ; ehci->sbrn =0x20 ; - err =usb_add_hcd (hcd, irq,IRQF_SHARED |IRQF_DISABLED ); + err =usb_add_hcd (hcd, irq,IRQF_SHARED );if (err) goto err5;
drivers/usb/host/ohci-xls.c +1 -1
@@ -56,7 +56,7 @@ static int ohci_xls_probe_internal(const struct hc_driver *driver, goto err3; } - retval =usb_add_hcd (hcd, irq,IRQF_DISABLED |IRQF_SHARED ); + retval =usb_add_hcd (hcd, irq,IRQF_SHARED );if (retval !=0 ) goto err4;return retval;
Signature · 1 line
1.7.1
Re: [PATCH 48/49] USB: pxa168: xls: irq: Remove IRQF_DISABLED
Quoted 9 lines · Yong Zhang
Since commit [
e58aa3d2: genirq: Run irq handlers with interrupts disabled], We run all interrupt handlers with interrupts disabled
and we even check and yell when an interrupt handler
returns with interrupts enabled (see commit [b738a50a:
genirq: Warn when handler enables interrupts]).So now this flag is a NOOP and can be removed.
Signed-off-by Yong Zhang<[email protected]>
Thanks for updating USB driver for PXA168!
Thanks,
Tanmay
Quoted 34 lines
Cc Tanmay Upadhyay<[email protected]>Cc Jayachandran C<[email protected]>Cc Greg Kroah-Hartman<[email protected]>--- drivers/usb/host/ehci-pxa168.c | 2 +- drivers/usb/host/ohci-xls.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/usb/host/ehci-pxa168.c +1
-1@@ -304,7 +304,7 @@ static int __devinit ehci_pxa168_drv_probe(struct platform_device *pdev) hcd->has_tt =1 ; ehci->sbrn =0x20 ; - err =usb_add_hcd (hcd, irq,IRQF_SHARED |IRQF_DISABLED ); + err =usb_add_hcd (hcd, irq,IRQF_SHARED );if (err) goto err5;drivers/usb/host/ohci-xls.c +1
-1@@ -56,7 +56,7 @@ static int ohci_xls_probe_internal(const struct hc_driver *driver, goto err3; } - retval =usb_add_hcd (hcd, irq,IRQF_DISABLED |IRQF_SHARED ); + retval =usb_add_hcd (hcd, irq,IRQF_SHARED );if (retval !=0 ) goto err4;return retval;
PATCH v3 49/49 genirq: Remove IRQF_DISABLED
In reply to Yong ZhangThere is no stuff which depends on IRQF_DISABLED after we made the tree-wide cleanup. Time to remove it completely.
No too late than 2.6.36 :)
--- Documentation/feature-removal-schedule.txt | 7 ------- include/linux/interrupt.h | 3 --- 2 files changed, 0 insertions(+), 10 deletions(-)
Documentation/feature-removal-schedule.txt +0 -7
@@ -400,13 +400,6 @@ Who: Netfilter developer team <[email protected]> ---------------------------- -What: IRQF_DISABLED -When: 2.6.36 -Why: The flag is a NOOP as we run interrupt handlers with interrupts disabled -Who: Thomas Gleixner <[email protected]> - ----------------------------- - What: PCI DMA unmap state API When: August 2012 Why: PCI DMA unmap state API (include/linux/pci-dma.h) was replaced
include/linux/interrupt.h +0 -3
@@ -42,8 +42,6 @@* These flags used only by the kernel as part of the * irq handling routines. * -* IRQF_DISABLED - keep irqs disabled when calling the action handler. -* DEPRECATED. This flag is a NOOP and scheduled to be removed * IRQF_SAMPLE_RANDOM - irq is used to feed the random generator * IRQF_SHARED - allow sharing the irq among several devices * IRQF_PROBE_SHARED - set by callers when they expect sharing mismatches to occur
@@ -60,7 +58,6 @@* IRQF_FORCE_RESUME - Force enable it on resume even if IRQF_NO_SUSPEND is set * IRQF_NO_THREAD - Interrupt cannot be threaded */ -#define IRQF_DISABLED 0x00000020#define IRQF_SAMPLE_RANDOM 0x00000040#define IRQF_SHARED 0x00000080#define IRQF_PROBE_SHARED 0x00000100
Signature · 1 line
1.7.1