mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-12-04 18:47:20 +00:00
[PATCH] build kernel/irq/migration.c only if CONFIG_GENERIC_PENDING_IRQ is set
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
f6422f17d3
commit
d824e66a9a
@ -1,4 +1,5 @@
|
||||
|
||||
obj-y := handle.o manage.o spurious.o migration.o
|
||||
obj-y := handle.o manage.o spurious.o
|
||||
obj-$(CONFIG_GENERIC_IRQ_PROBE) += autoprobe.o
|
||||
obj-$(CONFIG_PROC_FS) += proc.o
|
||||
obj-$(CONFIG_GENERIC_PENDING_IRQ) += migration.o
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include <linux/irq.h>
|
||||
|
||||
#if defined(CONFIG_GENERIC_PENDING_IRQ)
|
||||
#include <linux/irq.h>
|
||||
|
||||
void set_pending_irq(unsigned int irq, cpumask_t mask)
|
||||
{
|
||||
@ -61,5 +60,3 @@ void move_native_irq(int irq)
|
||||
}
|
||||
cpus_clear(pending_irq_cpumask[irq]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user