[PATCH] fix clockevents compile error

From: dwalker
Date: Wed Jun 14 2006 - 12:11:53 EST


clockevents depends on generic time, since there's some defines
it needs which get removed when generic time is off .

Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>

---
kernel/time/Makefile | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)

Index: linux-2.6.16/kernel/time/Makefile
===================================================================
--- linux-2.6.16.orig/kernel/time/Makefile
+++ linux-2.6.16/kernel/time/Makefile
@@ -1 +1,5 @@
-obj-y += clocksource.o jiffies.o clockevents.o
+
+obj-y += clocksource.o jiffies.o
+
+obj-$(CONFIG_GENERIC_TIME) += clockevents.o
+
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/