diff options
author | ian <ian@FreeBSD.org> | 2015-02-12 03:50:33 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-02-12 03:50:33 +0000 |
commit | dff1ee7f45c73c94ead5792fd2f879e70e6232c8 (patch) | |
tree | 7c6cdeb383764776a348de294da4e685c265f42c /usr.bin | |
parent | 0a5ffc45680c62f19448a2d2f49d063715444a28 (diff) | |
download | FreeBSD-src-dff1ee7f45c73c94ead5792fd2f879e70e6232c8.zip FreeBSD-src-dff1ee7f45c73c94ead5792fd2f879e70e6232c8.tar.gz |
MFC r271394, r271398:
Add more register values to armreg.h and remove CPU_CONTROL_32BP_ENABLE
from asm.h as they were already defined in armreg.h.
Unify interrupts bit definition and usage. While here remove PSR_C_bit.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/truss/arm-fbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/truss/arm-fbsd.c b/usr.bin/truss/arm-fbsd.c index b717619..c742dc2 100644 --- a/usr.bin/truss/arm-fbsd.c +++ b/usr.bin/truss/arm-fbsd.c @@ -316,7 +316,7 @@ arm_syscall_exit(struct trussinfo *trussinfo, int syscall_num __unused) } retval = regs.r[0]; - errorp = !!(regs.r_cpsr & PSR_C_bit); + errorp = !!(regs.r_cpsr & PSR_C); /* * This code, while simpler than the initial versions I used, could |