[PATCH 15/23] clocksource: add new flags

From: Daniel Walker
Date: Tue Jan 30 2007 - 22:41:39 EST


Compile patch .. This just adds some code so the next few patches will compile.

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

---
include/linux/clocksource.h | 6 ++++++
1 file changed, 6 insertions(+)

Index: linux-2.6.19/include/linux/clocksource.h
===================================================================
--- linux-2.6.19.orig/include/linux/clocksource.h
+++ linux-2.6.19/include/linux/clocksource.h
@@ -235,6 +235,12 @@ static inline void clocksource_calculate
c->xtime_interval = (u64)c->cycle_interval * c->mult;
}

+#define CLOCKSOURCE_NOT_CONTINUOUS 1
+#define CLOCKSOURCE_UNSTABLE 2
+#define CLOCKSOURCE_NOT_ATOMIC 4
+#define CLOCKSOURCE_UNDER_32BITS 8
+#define CLOCKSOURCE_64BITS 16
+#define CLOCKSOURCE_PM_AFFECTED 32

/* used to install a new clocksource */
extern int clocksource_register(struct clocksource*);

--
-
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/