linux-sg2042/arch/sh/kernel
Paul Mundt 05ff3004d2 sh: irq: Teach ipr and intc about dynamically allocating irq_descs.
This hooks in irq_to_desc_alloc_cpu() to the necessary code paths in the
intc and ipr controller registration paths. As these are the primary call
paths for all SH CPUs, this alone will make all CPUs sparse IRQ ready.

There is the added benefit now that each CPU contains specific IPR and
INTC tables, so only the vectors with interrupt sources backing them will
ever see an irq_desc instantiation. This effectively packs irq_desc
down to match the CPU, rather than padding NR_IRQS out to cover the valid
vector range.

Boards with extra sources will still have to fiddle with the nr_irqs
setting, but they can continue doing so through the machvec as before.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2009-05-22 01:28:33 +09:00
..
cpu sh: irq: Teach ipr and intc about dynamically allocating irq_descs. 2009-05-22 01:28:33 +09:00
vsyscall [S390] arch_setup_additional_pages arguments 2008-12-25 13:38:54 +01:00
.gitignore sh: Add an arch/sh/kernel/.gitignore 2008-07-29 08:29:32 +09:00
Makefile sh: Have 32-bit use arch/sh/kernel/Makefile_32. 2008-01-28 13:18:41 +09:00
Makefile_32 sh: Kill off the remnants of the old timer code. 2009-05-12 19:53:55 +09:00
Makefile_64 sh: Kill off the remnants of the old timer code. 2009-05-12 19:53:55 +09:00
asm-offsets.c sh: hibernation support 2009-03-10 12:55:40 +09:00
cpufreq.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 2007-10-13 09:49:04 -07:00
crash_dump.c kdump: make elfcorehdr_addr independent of CONFIG_PROC_VMCORE 2008-10-20 08:52:39 -07:00
debugtraps.S sh: Generic kgdb stub support. 2008-12-22 18:44:04 +09:00
disassemble.c sh: Add a simple code dumper for SUPERH32 show_regs(). 2008-12-22 18:43:49 +09:00
early_printk.c serial: sh-sci: Reorder the SCxTDR write after the TDxE clear. 2008-11-13 17:46:06 +09:00
entry-common.S sh: Generic kgdb stub support. 2008-12-22 18:44:04 +09:00
ftrace.c sh: Provide ftrace_make_call()/ftrace_make_nop(). 2008-12-22 18:44:02 +09:00
gpio.c sh: use gpiolib 2009-01-27 14:49:10 +09:00
head_32.S sh: convert to use __HEAD and HEAD_TEXT macros. 2009-04-26 09:20:39 -07:00
head_64.S sh: convert to use __HEAD and HEAD_TEXT macros. 2009-04-26 09:20:39 -07:00
idle.c sh: Wire up ARCH_HAS_DEFAULT_IDLE for cpuidle. 2009-04-02 13:08:31 +09:00
init_task.c take init_fs to saner place 2008-12-31 18:07:42 -05:00
io.c sh: pci: Consolidate pci_iomap() and use the generic I/O base. 2009-04-20 16:38:00 +09:00
io_generic.c sh: More I/O routine overhauling. 2008-10-04 05:25:52 +09:00
io_trapped.c sh: Rename opcode_t to insn_size_t. 2009-05-09 16:02:08 +09:00
irq.c sh: irq: Convert from irq_desc[] to irq_to_desc(). 2009-05-22 01:26:16 +09:00
kgdb.c sh: Rename opcode_t to insn_size_t. 2009-05-09 16:02:08 +09:00
kprobes.c sh: kprobes: kretprobe_trampoline needs to be global. 2008-09-09 08:13:28 +09:00
localtimer.c sh: Move dummy clockevents broadcast timer to its new home. 2009-05-03 18:29:27 +09:00
machine_kexec.c sh: disallow kexec virtual entry 2009-03-20 18:56:04 +09:00
machvec.c sh: More I/O routine overhauling. 2008-10-04 05:25:52 +09:00
module.c sh: Fix up SHmedia module ELF relocations. 2009-05-09 18:03:37 +09:00
process_32.c sh: Fix UBC setup and registers for SH2A 2009-05-09 00:09:21 +09:00
process_64.c Simplify copy_thread() 2009-04-02 19:04:51 -07:00
ptrace_32.c sh: Add ptrace support for NOMMU debugging 2009-05-09 00:11:27 +09:00
ptrace_64.c sh: Provide linux/regset.h interface for SH-5. 2008-12-22 18:44:04 +09:00
relocate_kernel.S sh: add kexec jump support 2009-03-18 18:57:43 +09:00
setup.c sh: Kill off the GENERIC_CALIBRATE_DELAY ifndef. 2009-05-08 22:14:01 +09:00
sh_bios.c sh: Kill off sh_bios_in_gdb_mode(). 2008-12-22 18:44:44 +09:00
sh_ksyms_32.c sh: irq: Convert from irq_desc[] to irq_to_desc(). 2009-05-22 01:26:16 +09:00
sh_ksyms_64.c sh: Provide an __sdivsi3_2 export for sh64. 2009-05-09 17:57:21 +09:00
signal_32.c sh: Fix up spurious syscall restarting. 2009-01-29 11:56:03 +09:00
signal_64.c sh: Fix up spurious syscall restarting. 2009-01-29 11:56:03 +09:00
smp.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
stacktrace.c sh: latencytop support. 2008-09-13 01:44:03 +09:00
swsusp.c sh: hibernation support 2009-03-10 12:55:40 +09:00
sys_sh.c sh: Fix mmap2 for handling differing PAGE_SIZEs. 2009-04-21 07:34:53 +09:00
sys_sh32.c [CVE-2009-0029] Remove __attribute__((weak)) from sys_pipe/sys_pipe2 2009-01-14 14:15:15 +01:00
sys_sh64.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
syscalls_32.S sh: wire up sys_preadv/sys_pwritev() syscalls. 2009-04-06 09:00:16 -07:00
syscalls_64.S sh: wire up sys_preadv/sys_pwritev() syscalls. 2009-04-06 09:00:16 -07:00
time.c sh: Kill off the remnants of the old timer code. 2009-05-12 19:53:55 +09:00
topology.c sh: replace remaining __FUNCTION__ occurrences 2008-03-06 11:18:22 +09:00
traps.c sh: Rename opcode_t to insn_size_t. 2009-05-09 16:02:08 +09:00
traps_32.c sh: Rename opcode_t to insn_size_t. 2009-05-09 16:02:08 +09:00
traps_64.c sh: Always fixup unaligned userspace accesses on sh64. 2009-05-08 20:32:56 +09:00
vmlinux.lds.S sh: include empty_zero_page in text 2009-05-11 18:42:14 +09:00