lkml.org 
[lkml]   [2007]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 <dwalker@mvista.com>

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

\
 
 \ /
  Last update: 2007-01-31 04:45    [W:0.171 / U:0.468 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site