f26fdd5992
IRQ_PER_CPU is not used by all architectures. This patch introduces the macros ARCH_HAS_IRQ_PER_CPU and CHECK_IRQ_PER_CPU() to avoid the generation of dead code in __do_IRQ(). ARCH_HAS_IRQ_PER_CPU is defined by architectures using IRQ_PER_CPU in their include/asm_ARCH/irq.h file. Through grepping the tree I found the following architectures currently use IRQ_PER_CPU: cris, ia64, ppc, ppc64 and parisc. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
iSeries | ||
a.out.h | ||
abs_addr.h | ||
atomic.h | ||
auxvec.h | ||
bitops.h | ||
bootinfo.h | ||
btext.h | ||
bug.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
compat.h | ||
cputable.h | ||
current.h | ||
dbdma.h | ||
delay.h | ||
dma-mapping.h | ||
dma.h | ||
eeh.h | ||
elf.h | ||
fcntl.h | ||
firmware.h | ||
floppy.h | ||
futex.h | ||
hardirq.h | ||
hvcall.h | ||
hvconsole.h | ||
hvcserver.h | ||
hw_irq.h | ||
ide.h | ||
imalloc.h | ||
io.h | ||
iommu.h | ||
ipcbuf.h | ||
irq.h | ||
kdebug.h | ||
kexec.h | ||
keylargo.h | ||
kmap_types.h | ||
kprobes.h | ||
lmb.h | ||
lppaca.h | ||
machdep.h | ||
macio.h | ||
memory.h | ||
mmu_context.h | ||
mmu.h | ||
mmzone.h | ||
msgbuf.h | ||
naca.h | ||
numnodes.h | ||
nvram.h | ||
of_device.h | ||
oprofile_impl.h | ||
paca.h | ||
page.h | ||
param.h | ||
parport.h | ||
pci-bridge.h | ||
pci.h | ||
pgalloc.h | ||
pgtable.h | ||
plpar_wrappers.h | ||
pmac_feature.h | ||
pmac_low_i2c.h | ||
pmc.h | ||
posix_types.h | ||
ppc32.h | ||
ppc_asm.h | ||
ppcdebug.h | ||
processor.h | ||
prom.h | ||
pSeries_reconfig.h | ||
ptrace-common.h | ||
ptrace.h | ||
rtas.h | ||
rwsem.h | ||
scatterlist.h | ||
seccomp.h | ||
sections.h | ||
segment.h | ||
semaphore.h | ||
serial.h | ||
setup.h | ||
sigcontext.h | ||
signal.h | ||
smp.h | ||
smu.h | ||
sparsemem.h | ||
spinlock.h | ||
sstep.h | ||
stat.h | ||
statfs.h | ||
system.h | ||
systemcfg.h | ||
thread_info.h | ||
time.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
types.h | ||
uaccess.h | ||
ucontext.h | ||
udbg.h | ||
uninorth.h | ||
unistd.h | ||
user.h | ||
vdso.h | ||
vga.h | ||
vio.h | ||
xics.h |