All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] build kernel/irq/migration.c only if CONFIG_GENERIC_PENDING_IRQ is set
@ 2006-04-01 17:48 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2006-04-01 17:48 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel


Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/kernel/irq/Makefile
===================================================================
--- linux-2.6.orig/kernel/irq/Makefile	2006-03-26 14:45:50.000000000 +0200
+++ linux-2.6/kernel/irq/Makefile	2006-03-26 14:48:32.000000000 +0200
@@ -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
Index: linux-2.6/kernel/irq/migration.c
===================================================================
--- linux-2.6.orig/kernel/irq/migration.c	2006-03-26 14:45:50.000000000 +0200
+++ linux-2.6/kernel/irq/migration.c	2006-03-26 14:48:59.000000000 +0200
@@ -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 @@
 	}
 	cpus_clear(pending_irq_cpumask[irq]);
 }
-
-#endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-01 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 17:48 [PATCH] build kernel/irq/migration.c only if CONFIG_GENERIC_PENDING_IRQ is set Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.