Commit 683071b0 authored by Heiko Carstens's avatar Heiko Carstens Committed by Vasily Gorbik

s390/cpum_cf_diag: use get_tod_clock_fast()

Use get_tod_clock_fast() instead of store_tod_clock(), since
store_tod_clock() can be very slow.
Reviewed-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
parent b29c5093
......@@ -119,7 +119,7 @@ static void cf_diag_trailer(struct cf_trailer_entry *te)
te->speed = 1;
te->clock_base = 1; /* Save clock base */
memcpy(&te->tod_base, &tod_clock_base[1], 8);
store_tod_clock((__u64 *)&te->timestamp);
te->timestamp = get_tod_clock_fast();
}
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment