linux-stable-rt/include
Atsushi Nemoto 97dcb82de6 [MIPS] Define MIPS_CPU_IRQ_BASE in generic header
The irq_base for {mips,rm7k,rm9k}_cpu_irq_init() are constant on all
platforms and are same value on most platforms (0 or 16, depends on
CONFIG_I8259).  Define them in asm-mips/mach-generic/irq.h and make
them customizable.  This will save a few cycle on each CPU interrupt.

A good side effect is removing some dependencies to MALTA in generic
SMTC code.

Although MIPS_CPU_IRQ_BASE is customizable, this patch changes irq
mappings on DDB5477, EMMA2RH and MIPS_SIM, since really customizing
them might cause some header dependency problem and there seems no
good reason to customize it.  So currently only VR41XX is using custom
MIPS_CPU_IRQ_BASE value, which is 0 regardless of CONFIG_I8259.

Testing this patch on those platforms is greatly appreciated.  Thank
you.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2007-02-06 16:53:08 +00:00
..
acpi
asm-alpha [PATCH] alpha: fix epoll syscall enumerations 2007-02-03 11:26:06 -08:00
asm-arm [ARM] 4111/1: Allow VFP to work with thread migration on SMP 2007-01-25 16:35:29 +00:00
asm-arm26
asm-avr32
asm-cris
asm-frv [PATCH] fix frv headers_check 2007-02-01 16:17:05 -08:00
asm-generic Fix Maple PATA IRQ assignment. 2007-01-26 17:27:40 -05:00
asm-h8300
asm-i386 [PATCH] i386 vDSO: use VM_ALWAYSDUMP 2007-01-26 13:50:58 -08:00
asm-ia64 ia64: add pci_get_legacy_ide_irq() 2007-01-27 13:46:54 +01:00
asm-m32r
asm-m68k [PATCH] m68k: uaccess.h needs sched.h 2007-01-30 08:26:45 -08:00
asm-m68knommu
asm-mips [MIPS] Define MIPS_CPU_IRQ_BASE in generic header 2007-02-06 16:53:08 +00:00
asm-parisc
asm-powerpc [PATCH] dma-mapping.h stubs fix 2007-01-30 08:39:21 -08:00
asm-ppc
asm-s390
asm-sh
asm-sh64
asm-sparc [SPARC32]: Fix over-optimization by GCC near ip_fast_csum. 2007-02-01 20:24:35 -08:00
asm-sparc64
asm-um [PATCH] uml-i386: fix build breakage with CONFIG_HIGHMEM 2007-02-01 16:17:06 -08:00
asm-v850
asm-x86_64 [PATCH] x86-64: define dma noncoherent API functions 2007-02-03 11:26:06 -08:00
asm-xtensa
crypto
keys
linux libata: Fix ata_busy_wait() kernel docs 2007-02-02 11:52:05 -05:00
math-emu
media
mtd
net [TCP]: Restore SKB socket owner setting in tcp_transmit_skb(). 2007-01-26 01:04:55 -08:00
pcmcia
rdma
rxrpc
scsi
sound [PATCH] ALSA: Fix sysfs breakage 2007-01-29 14:32:53 -08:00
video
Kbuild