diff options
author | Christoph Hellwig <hch@lst.de> | 2006-04-11 07:54:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-11 15:18:41 +0200 |
commit | d824e66a9a427faf69c58f98dd7e1c3d1bb51c61 (patch) | |
tree | f2f1050a55e496777896aaac96ebd82cbc62c174 /kernel/irq/migration.c | |
parent | [PATCH] vfs: propagate mnt_flags into do_loopback/vfsmount (diff) | |
download | linux-d824e66a9a427faf69c58f98dd7e1c3d1bb51c61.tar.xz linux-d824e66a9a427faf69c58f98dd7e1c3d1bb51c61.zip |
[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>
Diffstat (limited to 'kernel/irq/migration.c')
-rw-r--r-- | kernel/irq/migration.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/kernel/irq/migration.c b/kernel/irq/migration.c index 52a8655fa080..134f9f2e0e39 100644 --- a/kernel/irq/migration.c +++ b/kernel/irq/migration.c @@ -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 |