提交 d824e66a 编写于 作者: C Christoph Hellwig 提交者: Linus Torvalds

[PATCH] build kernel/irq/migration.c only if CONFIG_GENERIC_PENDING_IRQ is set

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 f6422f17
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_GENERIC_IRQ_PROBE) += autoprobe.o
obj-$(CONFIG_PROC_FS) += proc.o obj-$(CONFIG_PROC_FS) += proc.o
obj-$(CONFIG_GENERIC_PENDING_IRQ) += migration.o
#include <linux/irq.h>
#if defined(CONFIG_GENERIC_PENDING_IRQ) #include <linux/irq.h>
void set_pending_irq(unsigned int irq, cpumask_t mask) void set_pending_irq(unsigned int irq, cpumask_t mask)
{ {
...@@ -61,5 +60,3 @@ void move_native_irq(int irq) ...@@ -61,5 +60,3 @@ void move_native_irq(int irq)
} }
cpus_clear(pending_irq_cpumask[irq]); cpus_clear(pending_irq_cpumask[irq]);
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册