kernel-ark/kernel/irq
Yinghai Lu 13a0c3c269 sparseirq: work around compiler optimizing away __weak functions
Impact: fix panic on null pointer with sparseirq

Some GCC versions seem to inline the weak global function,
when that function is empty.

Work it around, by making the functions return a (dummy) integer.

Signed-off-by: Yinghai <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-27 13:24:00 +01:00
..
autoprobe.c irq: simplify for_each_irq_desc() usage 2008-12-26 09:48:18 +01:00
chip.c Merge branches 'irq/sparseirq', 'irq/genirq' and 'irq/urgent'; commit 'v2.6.28' into irq/core 2008-12-25 16:27:54 +01:00
devres.c kernel: explicitly include required header files under kernel/ 2008-04-29 08:06:04 -07:00
handle.c sparseirq: work around compiler optimizing away __weak functions 2008-12-27 13:24:00 +01:00
internals.h x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
Makefile x86, sparseirq: move irq_desc according to smp_affinity, v7 2008-12-17 00:14:01 +01:00
manage.c genirq: record IRQ_LEVEL in irq_desc[] 2008-12-02 11:20:46 +01:00
migration.c genirq: keep affinities set from userspace across free/request_irq() 2008-11-09 22:23:49 +01:00
numa_migrate.c sparseirq: fix desc->lock init 2008-12-27 09:29:22 +01:00
proc.c sparse irq_desc[] array: core kernel and x86 changes 2008-12-08 14:31:51 +01:00
resend.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
spurious.c irq: simplify for_each_irq_desc() usage 2008-12-26 09:48:18 +01:00