diff options
author | Richard Cochran <richardcochran@gmail.com> | 2014-12-21 19:46:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-12-30 18:29:25 -0500 |
commit | 74d23cc704d19732e70ef1579a669f7d5f09dd9a (patch) | |
tree | ebe90655a1cdd0414df3e289b1ead86599adc557 /include/linux/types.h | |
parent | 2c90331cf5ed1d648a711b9483e173aaaf2c4a9b (diff) | |
download | linux-74d23cc704d19732e70ef1579a669f7d5f09dd9a.tar.gz linux-74d23cc704d19732e70ef1579a669f7d5f09dd9a.tar.bz2 linux-74d23cc704d19732e70ef1579a669f7d5f09dd9a.zip |
time: move the timecounter/cyclecounter code into its own file.
The timecounter code has almost nothing to do with the clocksource
code. Let it live in its own file. This will help isolate the
timecounter users from the clocksource users in the source tree.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/types.h')
-rw-r--r-- | include/linux/types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index a0bb7048687f..62323825cff9 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -213,5 +213,8 @@ struct callback_head { }; #define rcu_head callback_head +/* clocksource cycle base type */ +typedef u64 cycle_t; + #endif /* __ASSEMBLY__ */ #endif /* _LINUX_TYPES_H */ |