From: Martin Peschke We are not supposed to use sched_clock(). Reverting a change which wasn't meant to slip through with statistics-infrastructure-exploitation-zfcp.patch. It fixes zfcp, which couldn't be compiled as module (found by Cedric). Signed-off-by: Martin Peschke Signed-off-by: Andrew Morton --- drivers/s390/scsi/zfcp_fsf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/s390/scsi/zfcp_fsf.c~statistics-infrastructure-exploitation-zfcp-sched_clock-fix drivers/s390/scsi/zfcp_fsf.c --- a/drivers/s390/scsi/zfcp_fsf.c~statistics-infrastructure-exploitation-zfcp-sched_clock-fix +++ a/drivers/s390/scsi/zfcp_fsf.c @@ -4781,7 +4781,7 @@ static int zfcp_fsf_req_send(struct zfcp req_queue->free_index %= QDIO_MAX_BUFFERS_PER_Q; /* wrap if needed */ new_distance_from_int = zfcp_qdio_determine_pci(req_queue, fsf_req); - fsf_req->issued = sched_clock(); + fsf_req->issued = get_clock(); retval = do_QDIO(adapter->ccw_device, QDIO_FLAG_SYNC_OUTPUT, _