fio: fix s390 timing for older machines/binutils
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Thu, 10 Apr 2014 13:09:47 +0000 (15:09 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 10 Apr 2014 14:04:07 +0000 (08:04 -0600)
commit81795ce399bef3af497e5767546458e20ce81bbf
treefdf55f7a4652f7f13c087a23cfc3d3f5a5914e96
parent12d02717a293cdd0c85504c958f7bf57411bb30b
fio: fix s390 timing for older machines/binutils

Older gcc/binutils or one with very low default march will refuse to use stckf.
On top of that machines older than a z196 don not even have the store clock
fast facility.

To fix all of those issues, check for the facilities in configure step and make
the usage of stckf and a matching march dependent to it.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
arch/arch-s390.h
configure