sparseirq: move __weak symbols into separate compilation unit
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 29 Dec 2008 00:01:13 +0000 (16:01 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 29 Dec 2008 11:15:49 +0000 (12:15 +0100)
commit43a256322ac1fc105c181b3cade3b9bfc0b63ca1
tree6f4b6fc286451598d20222af8b511fe0a3fcdcfc
parentb2e2fe99628c4f944c3075258e536197b5a4f3f8
sparseirq: move __weak symbols into separate compilation unit

GCC has a bug with __weak alias functions: if the functions are in
the same compilation unit as their call site, GCC can decide to
inline them - and thus rob the linker of the opportunity to override
the weak alias with the real thing.

So move all the IRQ handling related __weak symbols to kernel/irq/chip.c.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/interrupt.h
include/linux/irq.h
init/main.c
kernel/irq/manage.c
kernel/softirq.c