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/4a820d2f2eff
branches:  trunk
changeset: 820802:4a820d2f2eff
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 f6b4efa32b6a -r 4a820d2f2eff 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