diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-05-09 10:27:39 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-16 08:42:41 -0400 |
commit | 473e66baad1e83e6c5dfdca65aba03bf21727202 (patch) | |
tree | aab0bd4a295b41d1e29952b2b1260ad72150496b /drivers/s390/cio | |
parent | 2739b6d12407792f253b7a15233930338e6831c9 (diff) |
s390/time: always use stckf instead of stck if available
The store clock fast instruction saves a couple of instructions compared
to the store clock instruction. Always use stckf instead of stck if it
is available.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio')
-rw-r--r-- | drivers/s390/cio/qdio_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c index 19902cdc6fac..7493efafa0d5 100644 --- a/drivers/s390/cio/qdio_main.c +++ b/drivers/s390/cio/qdio_main.c | |||
@@ -517,7 +517,7 @@ static int get_inbound_buffer_frontier(struct qdio_q *q) | |||
517 | int count, stop; | 517 | int count, stop; |
518 | unsigned char state = 0; | 518 | unsigned char state = 0; |
519 | 519 | ||
520 | q->timestamp = get_clock_fast(); | 520 | q->timestamp = get_clock(); |
521 | 521 | ||
522 | /* | 522 | /* |
523 | * Don't check 128 buffers, as otherwise qdio_inbound_q_moved | 523 | * Don't check 128 buffers, as otherwise qdio_inbound_q_moved |
@@ -788,7 +788,7 @@ static int get_outbound_buffer_frontier(struct qdio_q *q) | |||
788 | int count, stop; | 788 | int count, stop; |
789 | unsigned char state = 0; | 789 | unsigned char state = 0; |
790 | 790 | ||
791 | q->timestamp = get_clock_fast(); | 791 | q->timestamp = get_clock(); |
792 | 792 | ||
793 | if (need_siga_sync(q)) | 793 | if (need_siga_sync(q)) |
794 | if (((queue_type(q) != QDIO_IQDIO_QFMT) && | 794 | if (((queue_type(q) != QDIO_IQDIO_QFMT) && |