]> git.hungrycats.org Git - linux/commit
[PATCH] factor out common <asm/hardirq.h> code
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Sep 2004 00:48:45 +0000 (17:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Sep 2004 00:48:45 +0000 (17:48 -0700)
commitcfec5c01d3d2957f346e4560a4eee0a54195b6f6
tree165f304dfa1e7e1d9368a8c4f60ec1ef8ea9dc2a
parent36ea58a510aa8c04ff181becfb7dcc1726094f31
[PATCH] factor out common <asm/hardirq.h> code

Since the irq handling rework in 2.5 lots of code in the individual
<asm/hardirq.h> files is the same.  This patch moves that common code
to <linux/hardirq.h>.  The following differences existed:

 - alpha, m68k, m68knommu and v850 were missing the ~PREEMPT_ACTIVE
   masking in the CONFIG_PREEMPT case of in_atomic().  These
   architectures don't support CONFIG_PREEMPT else this would have been
   an easily-spottbale bug
 - S390 didn't provide synchronize_irq as it doesn't fit into their
   I/O model.  They now get a spurious prototype/macro
 - ppc added a new preemptible() macro that is provided for all
   architectures now.

Most drivers were using <linux/interrupt.h> as they should, but a few
drivers and lots of architecture code has been updated to use
<linux/hardirq.h> instead of <asm/hardirq.h>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
109 files changed:
Documentation/DocBook/kernel-hacking.tmpl
Documentation/firmware_class/firmware_sample_firmware_class.c
arch/alpha/kernel/smp.c
arch/cris/kernel/crisksyms.c
arch/h8300/kernel/asm-offsets.c
arch/h8300/kernel/h8300_ksyms.c
arch/h8300/kernel/ints.c
arch/h8300/platform/h8s/ints.c
arch/i386/kernel/i386_ksyms.c
arch/i386/lib/mmx.c
arch/i386/mm/fault.c
arch/ia64/kernel/traps.c
arch/ia64/mm/fault.c
arch/m68k/kernel/m68k_ksyms.c
arch/m68k/q40/q40ints.c
arch/m68knommu/kernel/asm-offsets.c
arch/m68knommu/kernel/m68k_ksyms.c
arch/mips/au1000/common/time.c
arch/mips/kernel/smp.c
arch/mips/kernel/time.c
arch/mips/mips-boards/generic/time.c
arch/mips/mm/fault.c
arch/parisc/kernel/asm-offsets.c
arch/parisc/lib/debuglocks.c
arch/ppc/kernel/dma-mapping.c
arch/ppc/kernel/process.c
arch/ppc/kernel/smp.c
arch/ppc/platforms/chrp_smp.c
arch/ppc/platforms/pmac_cpufreq.c
arch/ppc/platforms/pmac_smp.c
arch/ppc/platforms/pmac_time.c
arch/ppc/syslib/open_pic.c
arch/ppc/syslib/open_pic2.c
arch/ppc64/kernel/asm-offsets.c
arch/ppc64/kernel/pmac_smp.c
arch/ppc64/kernel/pmac_time.c
arch/ppc64/kernel/process.c
arch/ppc64/kernel/rtc.c
arch/ppc64/kernel/smp.c
arch/ppc64/kernel/viopath.c
arch/ppc64/mm/tlb.c
arch/s390/mm/fault.c
arch/sh/kernel/sh_ksyms.c
arch/sh/kernel/smp.c
arch/sh/mm/fault-nommu.c
arch/sh/mm/fault.c
arch/sh/mm/tlb-sh3.c
arch/sh/mm/tlb-sh4.c
arch/sh64/kernel/sh_ksyms.c
arch/sh64/mm/fault.c
arch/sh64/mm/tlbmiss.c
arch/sparc/kernel/irq.c
arch/sparc/kernel/setup.c
arch/sparc/kernel/smp.c
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/sun4d_smp.c
arch/sparc/kernel/sun4m_smp.c
arch/sparc64/kernel/irq.c
arch/sparc64/kernel/setup.c
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/sparc64_ksyms.c
arch/um/drivers/stdio_console.c
arch/um/kernel/irq.c
arch/um/kernel/smp.c
arch/v850/kernel/asm-consts.c
arch/v850/kernel/v850_ksyms.c
arch/x86_64/kernel/asm-offsets.c
arch/x86_64/kernel/x8664_ksyms.c
arch/x86_64/mm/fault.c
crypto/internal.h
drivers/base/firmware_class.c
drivers/char/rio/linux_compat.h
drivers/macintosh/via-pmu.c
drivers/s390/cio/cio.c
include/asm-alpha/hardirq.h
include/asm-arm/hardirq.h
include/asm-arm26/hardirq.h
include/asm-cris/hardirq.h
include/asm-generic/local.h
include/asm-h8300/hardirq.h
include/asm-i386/hardirq.h
include/asm-ia64/hardirq.h
include/asm-m68k/hardirq.h
include/asm-m68k/system.h
include/asm-m68knommu/hardirq.h
include/asm-mips/hardirq.h
include/asm-parisc/hardirq.h
include/asm-ppc/hardirq.h
include/asm-ppc64/hardirq.h
include/asm-s390/hardirq.h
include/asm-s390/irq.h
include/asm-sh/hardirq.h
include/asm-sparc/hardirq.h
include/asm-sparc64/hardirq.h
include/asm-v850/hardirq.h
include/asm-x86_64/hardirq.h
include/linux/hardirq.h [new file with mode: 0644]
include/linux/interrupt.h
include/net/ipv6.h
sound/oss/ali5455.c
sound/oss/au1000.c
sound/oss/cs46xx.c
sound/oss/forte.c
sound/oss/i810_audio.c
sound/oss/ite8172.c
sound/oss/nec_vrc5477.c
sound/oss/rme96xx.c
sound/oss/swarm_cs4297a.c
sound/oss/trident.c