diff options
author | jkim <jkim@FreeBSD.org> | 2005-12-06 20:11:07 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2005-12-06 20:11:07 +0000 |
commit | 18c4e589cc668b34bf77f14994af4e2be567c73b (patch) | |
tree | 9e61ec92189730b7ea7f238f67161f9bc5e3e4b3 /sys/amd64 | |
parent | 33f5a902c54a3c48d2ad668c3399f8b5d3cbe1aa (diff) | |
download | FreeBSD-src-18c4e589cc668b34bf77f14994af4e2be567c73b.zip FreeBSD-src-18c4e589cc668b34bf77f14994af4e2be567c73b.tar.gz |
Fix ZERO_EDX() macro from the previous commit. It was emitting
`xor %ecx, %ecx', not `xor %edx, %edx'.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/bpf_jit_machdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/bpf_jit_machdep.h b/sys/amd64/amd64/bpf_jit_machdep.h index dab2477..b6a12f1 100644 --- a/sys/amd64/amd64/bpf_jit_machdep.h +++ b/sys/amd64/amd64/bpf_jit_machdep.h @@ -431,7 +431,7 @@ typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n); /* xor edx,edx */ #define ZERO_EDX() do { \ emitm(&stream, 0x31, 1); \ - emitm(&stream, 0xc9, 1); \ + emitm(&stream, 0xd2, 1); \ } while (0) #endif /* _BPF_JIT_MACHDEP_H_ */ |