original comment: +Wilson03172004,marked due to this pci host does not support MWI
[linux-2.4.git] / include / asm-ia64 / timex.h
1 #ifndef _ASM_IA64_TIMEX_H
2 #define _ASM_IA64_TIMEX_H
3
4 /*
5  * Copyright (C) 1998-2001 Hewlett-Packard Co
6  * Copyright (C) 1998-2001 David Mosberger-Tang <davidm@hpl.hp.com>
7  */
8 /*
9  * 2001/01/18 davidm    Removed CLOCK_TICK_RATE.  It makes no sense on IA-64.
10  *                      Also removed cacheflush_time as it's entirely unused.
11  */
12
13 typedef unsigned long cycles_t;
14
15 static inline cycles_t
16 get_cycles (void)
17 {
18         cycles_t ret;
19
20         __asm__ __volatile__ ("mov %0=ar.itc" : "=r"(ret));
21         return ret;
22 }
23
24 #define vxtime_lock()           do {} while (0)
25 #define vxtime_unlock()         do {} while (0)
26
27 #endif /* _ASM_IA64_TIMEX_H */