kernel-ark/arch/sh/kernel
Magnus Damm d619500aed sh: rework intc2 code
The shared intc2 code currently contains cpu-specific #ifdefs.
This is a tad unclean and it prevents us from using the shared code
to drive board-specific irqs on the se7780 board.

This patch reworks the intc2 code by moving the base addresses of
the intc2 registers into struct intc2_desc. This new structure also
contains the name of the controller in struct irq_chip. The idea
behind putting struct irq_chip in there is that we can use offsetof()
to locate the base addresses in the irq_chip callbacks.

One logic change has been made - the original shared intc2 code
enabled the interrupts by default but with this patch they are all
disabled by default.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-06-15 10:41:54 +09:00
..
cpu sh: rework intc2 code 2007-06-15 10:41:54 +09:00
timers sh: section mismatch fixes for system timer. 2007-05-23 12:24:32 +09:00
vsyscall sh: Fix vsyscall build failure. 2007-05-31 13:44:55 +09:00
asm-offsets.c
cf-enabler.c sh: Rip out special unknown machvec. 2007-06-08 02:43:40 +00:00
cpufreq.c
crash_dump.c sh: kdump support. 2007-05-07 02:11:56 +00:00
debugtraps.S sh: Use a jump call table for debug trap handlers. 2007-02-13 10:54:43 +09:00
early_printk.c Fixes and cleanups for earlyprintk aka boot console 2007-05-08 11:15:04 -07:00
entry-common.S sh: Clear UBC when not in use. 2007-03-05 14:13:25 +09:00
head.S
init_task.c
io_generic.c sh: Revert lazy dcache writeback changes. 2007-03-05 19:46:47 +09:00
io.c
irq.c sh: NR_IRQS consolidation. 2007-05-07 02:10:53 +00:00
kgdb_jmp.S
kgdb_stub.c spelling fixes: arch/sh/ 2007-05-21 14:31:39 +09:00
machine_kexec.c sh: kdump support. 2007-05-07 02:11:56 +00:00
machvec.c sh: Rip out special unknown machvec. 2007-06-08 02:43:40 +00:00
Makefile sh: Fixup machvec support. 2007-06-08 02:43:37 +00:00
module.c
pm.c
process.c sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
ptrace.c sh: __user annotations for __get/__put_user(). 2007-06-08 02:43:36 +00:00
relocate_kernel.S
semaphore.c
setup.c sh: Kill off dead SH7604 support. 2007-06-08 11:55:28 +09:00
sh_bios.c
sh_ksyms.c sh: Kill off redundant __div64_32 symbol export. 2007-05-09 01:35:01 +00:00
signal.c sh: Tidy compiler warnings for SH-2A build. 2007-06-08 02:43:46 +00:00
smp.c sh: trivial build cleanups. 2007-05-31 13:46:21 +09:00
stacktrace.c sh: Fix stacktrace simplification fallout. 2007-05-09 18:55:14 +09:00
sys_sh.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
syscalls.S sh: Wire up mempolicy syscalls. 2007-06-08 02:43:47 +00:00
time.c sh: clockevent/clocksource/hrtimers/nohz TMU support. 2007-05-09 17:33:24 +09:00
topology.c sh: Fix up cpu to node mapping in sysfs. 2007-06-08 02:43:50 +00:00
traps.c sh: Tidy compiler warnings for SH-2A build. 2007-06-08 02:43:46 +00:00
vmlinux.lds.S sh: Align .machvec.init section on a 4-byte boundary. 2007-06-08 02:43:41 +00:00