diff options
author | H. Peter Anvin <[email protected]> | 2009-08-31 14:23:29 -0700 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2009-08-31 15:15:23 -0700 |
commit | 0cc0213e73af5963eca259c84876937c20689dbd (patch) | |
tree | 2e3db62cc241269fbb3ee3313e568239cf4c9bd0 /tools/perf/util/trace-event-scripting.c | |
parent | 79c5dca3619d6ae15815eec14cd7a43db5f38b47 (diff) |
x86, msr: Have the _safe MSR functions return -EIO, not -EFAULT
For some reason, the _safe MSR functions returned -EFAULT, not -EIO.
However, the only user which cares about the return code as anything
other than a boolean is the MSR driver, which wants -EIO. Change it
to -EIO across the board.
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Chris Wright <[email protected]>
Cc: Alok Kataria <[email protected]>
Cc: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions