[PATCH] fix clockevents compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

---
 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux