diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-03-31 10:12:16 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2011-03-31 10:12:16 +1100 |
commit | 8c7f33b1fb450f5864e69e3550d557c432e60f46 (patch) | |
tree | 9fcef6d592b880a86ac3220b66f251bb9f31893e /arch | |
parent | 7cf585f25eda1eb2c901f7ca9d82b0fa81899b10 (diff) | |
parent | 09b2172d2dfa6ef2816172d06bdade5bcc9225ae (diff) |
Merge remote-tracking branch 's390/features'
Diffstat (limited to 'arch')
-rw-r--r-- | arch/s390/oprofile/hwsampler.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/s390/oprofile/hwsampler.c b/arch/s390/oprofile/hwsampler.c index 3d48f4db246d..4952872d6f0a 100644 --- a/arch/s390/oprofile/hwsampler.c +++ b/arch/s390/oprofile/hwsampler.c @@ -517,12 +517,8 @@ stop_exit: static int check_hardware_prerequisites(void) { - unsigned long long facility_bits[2]; - - memcpy(facility_bits, S390_lowcore.stfle_fac_list, 32); - if (!(facility_bits[1] & (1ULL << 59))) + if (!test_facility(68)) return -EOPNOTSUPP; - return 0; } /* |