Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
s390
/
include
/
asm
/
timex.h
diff --git
a/kernel/arch/s390/include/asm/timex.h
b/kernel/arch/s390/include/asm/timex.h
index
98eb2a5
..
dcb6312
100644
(file)
--- a/
kernel/arch/s390/include/asm/timex.h
+++ b/
kernel/arch/s390/include/asm/timex.h
@@
-10,6
+10,7
@@
#define _ASM_S390_TIMEX_H
#include <asm/lowcore.h>
#define _ASM_S390_TIMEX_H
#include <asm/lowcore.h>
+#include <linux/time64.h>
/* The value of the TOD clock for 1.1.1970. */
#define TOD_UNIX_EPOCH 0x7d91048bca000000ULL
/* The value of the TOD clock for 1.1.1970. */
#define TOD_UNIX_EPOCH 0x7d91048bca000000ULL
@@
-108,10
+109,10
@@
int get_sync_clock(unsigned long long *clock);
void init_cpu_timer(void);
unsigned long long monotonic_clock(void);
void init_cpu_timer(void);
unsigned long long monotonic_clock(void);
-void tod_to_timeval(__u64
, struct timespec *
);
+void tod_to_timeval(__u64
todval, struct timespec64 *xt
);
static inline
static inline
-void stck_to_timespec
(unsigned long long stck, struct timespec
*ts)
+void stck_to_timespec
64(unsigned long long stck, struct timespec64
*ts)
{
tod_to_timeval(stck - TOD_UNIX_EPOCH, ts);
}
{
tod_to_timeval(stck - TOD_UNIX_EPOCH, ts);
}