summaryrefslogtreecommitdiff
path: root/kern/time_stamp.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-29 22:54:23 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-12-05 07:03:49 +0900
commite9ba474a0db66435be8386876a5a2d75adcba274 (patch)
treea9826f8b6af21274682c1ce769af6c86267a35bb /kern/time_stamp.c
parent1f5907e551b3a9f31f72ab20e8c4db0339cc704a (diff)
kern/time_stamp.c: remove multimax code
* kern/time_stamp.c [multimax]: Remove code.
Diffstat (limited to 'kern/time_stamp.c')
-rw-r--r--kern/time_stamp.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/kern/time_stamp.c b/kern/time_stamp.c
index 22885b1..9adfc14 100644
--- a/kern/time_stamp.c
+++ b/kern/time_stamp.c
@@ -32,28 +32,16 @@
/*
* ts.c - kern_timestamp system call.
*/
-#ifdef multimax
-#include <mmax/timer.h>
-#endif /* multimax */
-
-
-
kern_return_t
kern_timestamp(tsp)
struct tsval *tsp;
{
-#ifdef multimax
- struct tsval temp;
- temp.low_val = FRcounter;
- temp.high_val = 0;
-#else /* multimax */
/*
temp.low_val = 0;
temp.high_val = ts_tick_count;
*/
time_value_t temp;
temp = time;
-#endif /* multimax */
if (copyout((char *)&temp,
(char *)tsp,
@@ -68,8 +56,5 @@ struct tsval *tsp;
void timestamp_init()
{
-#ifdef multimax
-#else /* multimax */
ts_tick_count = 0;
-#endif /* multimax */
}