bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 58/68] kern/time_stamp.c: remove multimax code


From: Marin Ramesa
Subject: [PATCH 58/68] kern/time_stamp.c: remove multimax code
Date: Fri, 29 Nov 2013 22:54:23 +0100

* kern/time_stamp.c [multimax]: Remove code.

---
 kern/time_stamp.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/kern/time_stamp.c b/kern/time_stamp.c
index f0df0eb..1d57eb6 100644
--- a/kern/time_stamp.c
+++ b/kern/time_stamp.c
@@ -32,27 +32,15 @@
 /*
  *     ts.c - kern_timestamp system call.
  */
-#ifdef multimax
-#include <mmax/timer.h>
-#endif /* multimax */
-
-
-
 kern_return_t
 kern_timestamp(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,
@@ -67,8 +55,5 @@ kern_timestamp(struct tsval *tsp)
 
 void timestamp_init(void)
 {
-#ifdef multimax
-#else  /* multimax */
        ts_tick_count = 0;
-#endif /* multimax */
 }
-- 
1.8.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]