Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hppa/include undo paren change



details:   https://anonhg.NetBSD.org/src/rev/c4685b2724de
branches:  trunk
changeset: 350660:c4685b2724de
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 15 18:03:12 2017 +0000

description:
undo paren change

diffstat:

 sys/arch/hppa/include/lock.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c55ece38694f -r c4685b2724de sys/arch/hppa/include/lock.h
--- a/sys/arch/hppa/include/lock.h      Sun Jan 15 17:00:59 2017 +0000
+++ b/sys/arch/hppa/include/lock.h      Sun Jan 15 18:03:12 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.18 2017/01/15 15:27:41 christos Exp $       */
+/*     $NetBSD: lock.h,v 1.19 2017/01/15 18:03:12 christos Exp $       */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
 #define HPPA_LDCW_ALIGN        16UL
 
 #define __SIMPLELOCK_ALIGN(p) \
-    (volatile unsigned long *)(((uintptr_t)((p) + HPPA_LDCW_ALIGN - 1)) & \
+    (volatile unsigned long *)((((uintptr_t)(p) + HPPA_LDCW_ALIGN - 1)) & \
     ~(HPPA_LDCW_ALIGN - 1))
 
 #define __SIMPLELOCK_RAW_LOCKED                0UL



Home | Main Index | Thread Index | Old Index