#ifndef IOSCHED_H #define IOSCHED_H extern void ioprio_print(void); extern void set_ioprio_rt(void); extern void set_ioprio_be(void); #endif /* IOSCHED_H */ rel='shortcut icon' href='http://distanz.ch/favicon.ico'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-04-15 12:08:19 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-18 20:10:45 +1000
commit4705e02498d6d5a7ab98dfee9595cd5e91db2017 (patch)
tree28f8ea578da3a51f8008e92d011da3da6323424b
parentbeff82374b259d726e2625ec6c518a5f2613f0ae (diff)
powerpc: Update TM user feature bits in scan_features()
We need to update the user TM feature bits (PPC_FEATURE2_HTM and PPC_FEATURE2_HTM) to mirror what we do with the kernel TM feature bit. At the moment, if firmware reports TM is not available we turn off the kernel TM feature bit but leave the userspace ones on. Userspace thinks it can execute TM instructions and it dies trying. This (together with a QEMU patch) fixes PR KVM, which doesn't currently support TM. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: stable@vger.kernel.org Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>