aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorPaul Mackerras <[email protected]>2014-03-25 10:47:05 +1100
committerPaul Mackerras <[email protected]>2014-03-29 19:58:29 +1100
commit739e2425fea6349ac674e93648953b3a08985f2f (patch)
tree55c18c37a0c5ffaf26e5210babca7fcc20f0bd15 /tools/perf/util/scripting-engines/trace-event-perl.c
parentb24f36f33ea088771c2bb7c09e84d0ddea35cf55 (diff)
KVM: PPC: Book3S HV: Return ENODEV error rather than EIO
If an attempt is made to load the kvm-hv module on a machine which doesn't have hypervisor mode available, return an ENODEV error, which is the conventional thing to return to indicate that this module is not applicable to the hardware of the current machine, rather than EIO, which causes a warning to be printed. Signed-off-by: Paul Mackerras <[email protected]> Acked-by: Scott Wood <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions