Update to 3.4-final.
[linux-flexiantxendom0-3.2.10.git] / arch / x86 / include / mach-xen / asm / time.h
1 #ifndef _XEN_ASM_TIME_H
2 #define _XEN_ASM_TIME_H
3
4 unsigned long xen_read_wallclock(void);
5 int xen_write_wallclock(unsigned long);
6
7 struct timespec;
8 #ifdef CONFIG_XEN_PRIVILEGED_GUEST
9 int xen_update_wallclock(const struct timespec *);
10 #else
11 static inline int xen_update_wallclock(const struct timespec *tv) {
12         return -EPERM;
13 }
14 #endif
15
16 #endif /* _XEN_ASM_TIME_H */
17
18 #include_next <asm/time.h>