target-s390x: add a tod2time function
commit9cb32c442e11d16b747fa07e29dd29b5d8227b57
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 18 May 2015 21:42:25 +0000 (18 23:42 +0200)
committerAlexander Graf <agraf@suse.de>
Thu, 4 Jun 2015 23:37:57 +0000 (5 01:37 +0200)
tree38f47eb312a089872ebe57957ce63990b19b0b46
parenta91a1b20a23424412a3e7bb184422ec30ae64453
target-s390x: add a tod2time function

Add a tod2time function similar to the time2tod one, instead of open
coding the conversion.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-s390x/cpu.h
target-s390x/misc_helper.c