[SCSI] zfcp: Remove duplicated code for debug timestamps
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 18 Aug 2009 13:43:31 +0000 (15:43 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 13:49:48 +0000 (08:49 -0500)
commitb592e89ac9af521be164490e45c53c93e89c776f
treed344abae4fc3a829389df72adcd91f5f3a7603b8
parent0fac3f477b6b520ae7d972ceb6e958e6807c8e1a
[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>
arch/s390/include/asm/timex.h
arch/s390/kernel/debug.c
arch/s390/kernel/time.c
drivers/s390/scsi/zfcp_dbf.c