diff options
author | 2010-12-30 22:10:12 +0100 | |
---|---|---|
committer | 2011-02-09 16:05:33 +0100 | |
commit | 10de52d6655ef0d4a1b8d2804db30208c26601ed (patch) | |
tree | f64dc00605b9ca41c264a6d3aecc717607d3975e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | x86, microcode, AMD: Release firmware on error (diff) | |
download | linux-rng-10de52d6655ef0d4a1b8d2804db30208c26601ed.tar.xz linux-rng-10de52d6655ef0d4a1b8d2804db30208c26601ed.zip |
x86, microcode, AMD: Simplify install_equiv_cpu_table
There's no need to memcpy the ucode header in order to look at it only
in this function - use the original buffer instead. Also, fix return
type semantics by returning a negative value on error and a positive
otherwise.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: Andreas Herrmann <Andreas.Herrmann3@amd.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions