summary refs log tree commit diff stats
path: root/linux-headers/linux/psci.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2014-05-28 14:15:57 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2014-06-10 09:50:26 +0200
commit08da527fd07cf01dc29ca60a144fbdd60b0fb7c0 (patch)
tree342b82fbb14f85580a6d7a835d33738ba12ddbfd /linux-headers/linux/psci.h
parentf068d320def7fd83bf0fcdca37b305f1c2ac5413 (diff)
downloadfocaccia-qemu-08da527fd07cf01dc29ca60a144fbdd60b0fb7c0.tar.gz
focaccia-qemu-08da527fd07cf01dc29ca60a144fbdd60b0fb7c0.zip
s390x/kvm: make flic play well with old kernels
If we run with an old kernel that does not support KVM_CAP_IRQ_ROUTING,
we don't have to do anything in the ->register_io_adapter and
->io_adapter_map callbacks and therefore should return 0 instead of
-ENOSYS (just as the non-kvm flic does).

This fixes using adapter interrupts when running under an older kernel,
which broke with "s390x: add I/O adapter registration".

Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'linux-headers/linux/psci.h')
0 files changed, 0 insertions, 0 deletions