2007-01-31 03:40:58

by Daniel Walker

[permalink] [raw]
Subject: [PATCH 15/23] clocksource: add new flags

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

Signed-Off-By: Daniel Walker <[email protected]>

---
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*);

--