diff options
author | andrew <andrew@FreeBSD.org> | 2014-09-10 15:25:15 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-09-10 15:25:15 +0000 |
commit | 249f5cbad95c9fb430054e36196915cf7331c68f (patch) | |
tree | 0c4e46cf97edb07c5459c945688da1693c8d9516 /usr.bin | |
parent | 4dbc32b6e112ce88b9279d54cdb09e838aa28ca6 (diff) | |
download | FreeBSD-src-249f5cbad95c9fb430054e36196915cf7331c68f.zip FreeBSD-src-249f5cbad95c9fb430054e36196915cf7331c68f.tar.gz |
Unify interrupts bit definition and usage. While here remove PSR_C_bit.
Submitted by: Svatopluk Kraus <onwahe at gmail.com>,
Michal Meloun <meloun at miracle.cz>
Differential Revision: https://reviews.freebsd.org/D754
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 a1759ab..3bac400 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 |