[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
- [PATCH 45/68] ipc/ipc_kmsg.h: update comment, (continued)
- [PATCH 45/68] ipc/ipc_kmsg.h: update comment, Marin Ramesa, 2013/11/29
- [PATCH 46/68] kern/ipc_kobject.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 47/68] vm/vm_fault.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 48/68] vm/vm_kern.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 50/68] vm/vm_pageout.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 49/68] vm/vm_map.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 52/68] vm/vm_user.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 51/68] vm/vm_resident.c: correct comment, Marin Ramesa, 2013/11/29
- [PATCH 53/68] Normalize whitespace, Marin Ramesa, 2013/11/29
- [PATCH 56/68] Remove unnecessary files, Marin Ramesa, 2013/11/29
- [PATCH 58/68] kern/time_stamp.c: remove multimax code,
Marin Ramesa <=
- [PATCH 59/68] Type definition, Marin Ramesa, 2013/11/29
- [PATCH 60/68] device/net_io.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 61/68] i386/i386at/kd.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 62/68] i386/i386at/model_dep.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 63/68] ipc/ipc_entry.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 65/68] kern/mach_clock.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 64/68] ipc/mach_port.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 66/68] ddb/db_variables.c: fix near initialization, Marin Ramesa, 2013/11/29
- [PATCH 67/68] device/ds_routines.c: fix initialization from incompatible pointer type, Marin Ramesa, 2013/11/29
- [PATCH 68/68] i386/i386at/com.h: include chips/busses.h for struct bus_device, Marin Ramesa, 2013/11/29