diff options
author | Sirisha Gandikota <[email protected]> | 2016-09-13 16:19:31 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-09-13 16:32:42 -0700 |
commit | aa7b410592700bf6253e8695ea208d0448c1610e (patch) | |
tree | baff521be69c317f3abfda8c7d49e43ef1c61945 /src/intel/tools/gen_disasm.h | |
parent | 1ab92d80a8771ac7145d06a9b7983eecc0beaba0 (diff) |
aubinator: Remove bogus "end" parameter in gen_disasm_disassemble()
Earlier, the loop pretends to loop over instructions from "start" to "end",
but the callers always pass 8192 for end, which is some huge bogus
value. The real loop termination condition is send-with-EOT or 0. (Ken)
Signed-off-by: Sirisha Gandikota <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/tools/gen_disasm.h')
-rw-r--r-- | src/intel/tools/gen_disasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/tools/gen_disasm.h b/src/intel/tools/gen_disasm.h index af6654f3c33..24b56c9a8e1 100644 --- a/src/intel/tools/gen_disasm.h +++ b/src/intel/tools/gen_disasm.h @@ -28,7 +28,7 @@ struct gen_disasm; struct gen_disasm *gen_disasm_create(int pciid); void gen_disasm_disassemble(struct gen_disasm *disasm, - void *assembly, int start, int end, FILE *out); + void *assembly, int start, FILE *out); void gen_disasm_destroy(struct gen_disasm *disasm); |