summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 20:33:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 20:33:21 +0000
commitadaa84b5b57cf328ccf6e345b38ec6706c692895 (patch)
tree7981ac434a72299baff1a6d37d0dc095dac8ffec /sys/arch/arm/include
parenta259a6aeceab099f25670e0fbdd7d90fa1ec9bfa (diff)
1 << 31 cleanup. Eitan Adler pointed out that there has been a
resurrection of the bad idiom in the tree. sufficient review by miod, kettenis, tedu
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r--sys/arch/arm/include/armreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/include/armreg.h b/sys/arch/arm/include/armreg.h
index a64beda3e79..b14a59bb6e9 100644
--- a/sys/arch/arm/include/armreg.h
+++ b/sys/arch/arm/include/armreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: armreg.h,v 1.13 2013/08/06 23:15:43 jsg Exp $ */
+/* $OpenBSD: armreg.h,v 1.14 2013/11/26 20:33:11 deraadt Exp $ */
/* $NetBSD: armreg.h,v 1.27 2003/09/06 08:43:02 rearnsha Exp $ */
/*
@@ -53,7 +53,7 @@
*/
#define PSR_FLAGS 0xf0000000 /* flags */
-#define PSR_N_bit (1 << 31) /* negative */
+#define PSR_N_bit (1U << 31) /* negative */
#define PSR_Z_bit (1 << 30) /* zero */
#define PSR_C_bit (1 << 29) /* carry */
#define PSR_V_bit (1 << 28) /* overflow */