aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/time.c
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2009-08-18 09:43:31 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:49:48 -0400
commitb592e89ac9af521be164490e45c53c93e89c776f (patch)
treed344abae4fc3a829389df72adcd91f5f3a7603b8 /arch/s390/kernel/time.c
parent0fac3f477b6b520ae7d972ceb6e958e6807c8e1a (diff)
[SCSI] zfcp: Remove duplicated code for debug timestamps
The timestamp calculation used for s390dbf output is the same in a private zfcp function and in debug.c. Replace both with a common inline function. Reviewed-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'arch/s390/kernel/time.c')
-rw-r--r--arch/s390/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index d4c8e9c47c81..9693d98d4d4a 100644
--- a/arch/s390/kernel/time.c
+++ b/arch/s390/kernel/time.c
@@ -90,6 +90,7 @@ void tod_to_timeval(__u64 todval, struct timespec *xtime)
90 todval -= (sec * 1000000) << 12; 90 todval -= (sec * 1000000) << 12;
91 xtime->tv_nsec = ((todval * 1000) >> 12); 91 xtime->tv_nsec = ((todval * 1000) >> 12);
92} 92}
93EXPORT_SYMBOL(tod_to_timeval);
93 94
94void clock_comparator_work(void) 95void clock_comparator_work(void)
95{ 96{