aha/arch/sh
Russell King ba84be2338 remove linux/hardirq.h from asm-generic/local.h
While looking at reducing the amount of architecture namespace pollution
in the generic kernel, I found that asm/irq.h is included in the vast
majority of compilations on ARM (around 650 files.)

Since asm/irq.h includes a sub-architecture include file on ARM, this
causes a negative impact on the ccache's ability to re-use the build
results from other sub-architectures, so we have a desire to reduce the
dependencies on asm/irq.h.

It turns out that a major cause of this is the needless include of
linux/hardirq.h into asm-generic/local.h.  The patch below removes this
include, resulting in some 250 to 300 files (around half) of the kernel
then omitting asm/irq.h.

My test builds still succeed, provided two ARM files are fixed
(arch/arm/kernel/traps.c and arch/arm/mm/fault.c) - so there may be
negative impacts for this on other architectures.

Note that x86 does not include asm/irq.h nor linux/hardirq.h in its
asm/local.h, so this patch can be viewed as bringing the generic version
into line with the x86 version.

[kosaki.motohiro@jp.fujitsu.com: add #include <linux/irqflags.h> to acpi/processor_idle.c]
[adobriyan@gmail.com: fix sparc64]
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-06 15:59:13 -08:00
..
boards sh: mach-sh03: Fix up pata_platform build breakage. 2008-12-22 18:44:49 +09:00
boot sh: FTRACE renamed to FUNCTION_TRACER. 2008-10-31 16:20:36 +09:00
cchips sh: Switch HD64461 from hw_interrupt_type to irq_chip 2008-12-22 18:43:50 +09:00
configs sh: Add a simple edosk7705_defconfig for build testing. 2008-12-22 18:44:46 +09:00
drivers sh: dma: Kill off ISA DMA wrapper. 2008-12-22 18:44:47 +09:00
include atomic_t: unify all arch definitions 2009-01-06 15:59:10 -08:00
kernel remove linux/hardirq.h from asm-generic/local.h 2009-01-06 15:59:13 -08:00
lib sh: Add plain udivsi3 (not _i4*) for gcc-4.1 and lower. 2008-12-22 18:43:53 +09:00
lib64 sh: Provide sdivsi3/udivsi3/udivdi3 for sh64, kill off libgcc linking. 2008-12-22 18:44:05 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm mm: show node to memory section relationship with symlinks in sysfs 2009-01-06 15:59:00 -08:00
oprofile sh: oprofile: Fix up the module build. 2008-12-22 19:32:27 +09:00
tools sh: Consolidate rsk7203/7201 in to a new mach-rsk. 2008-12-22 18:44:02 +09:00
Kconfig sh: dma: Kill off ISA DMA wrapper. 2008-12-22 18:44:47 +09:00
Kconfig.cpu sh: Disable big endian for SH-5. 2008-02-14 14:22:10 +09:00
Kconfig.debug sh: Conditionalize the code dumper on CONFIG_DUMP_CODE. 2008-12-22 18:44:47 +09:00
Makefile sh: mach-rsk: Use uImage generation by default for rsk7201/7203. 2008-12-22 18:44:49 +09:00