android_kernel_xiaomi_sm8350/arch/avr32/kernel
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
..
.gitignore avr32: add .gitignore files 2008-09-19 18:21:29 +02:00
asm-offsets.c avr32: Fix lockup after Java stack underflow in user mode 2008-09-01 13:04:04 +02:00
avr32_ksyms.c avr32: add generic_find_next_le_bit bit function 2008-09-19 18:21:30 +02:00
cpu.c sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
entry-avr32b.S avr32: Fix lockup after Java stack underflow in user mode 2008-09-01 13:04:04 +02:00
head.S
init_task.c take init_fs to saner place 2008-12-31 18:07:42 -05:00
irq.c
kprobes.c
Makefile Generic semaphore implementation 2008-04-17 10:42:34 -04:00
module.c
nmi_debug.c
ocd.c
process.c avr32: Minor pm_power_off cleanup 2008-10-08 18:44:58 +02:00
ptrace.c
setup.c avr32: added mem kernel command line option support 2008-09-22 09:51:01 +02:00
signal.c avr32: Fix sigaltstack behaviour 2008-06-27 15:07:35 +02:00
stacktrace.c fix core/stacktrace changes on avr32, mips, sh 2008-07-18 14:42:35 +02:00
switch_to.S
sys_avr32.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
syscall_table.S avr32: fix sys_sync_file_range() call convention 2008-09-19 18:21:31 +02:00
syscall-stubs.S avr32: fix sys_sync_file_range() call convention 2008-09-19 18:21:31 +02:00
time.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
traps.c remove linux/hardirq.h from asm-generic/local.h 2009-01-06 15:59:13 -08:00
vmlinux.lds.S Merge branch 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-14 15:28:10 -07:00