Module Name: src
Committed By: christos
Date: Sat Jan 14 15:58:11 UTC 2017
Modified Files:
src/sys/arch/hppa/include: lock.h
Log Message:
fix constant types
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/hppa/include/lock.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hppa/include/lock.h
diff -u src/sys/arch/hppa/include/lock.h:1.16 src/sys/arch/hppa/include/lock.h:1.17
--- src/sys/arch/hppa/include/lock.h:1.16 Mon Apr 28 16:23:23 2008
+++ src/sys/arch/hppa/include/lock.h Sat Jan 14 10:58:11 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.16 2008/04/28 20:23:23 martin Exp $ */
+/* $NetBSD: lock.h,v 1.17 2017/01/14 15:58:11 christos Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -45,8 +45,8 @@
(volatile unsigned long *)(((uintptr_t)(p) + HPPA_LDCW_ALIGN - 1) & \
~(HPPA_LDCW_ALIGN - 1))
-#define __SIMPLELOCK_RAW_LOCKED 0
-#define __SIMPLELOCK_RAW_UNLOCKED 1
+#define __SIMPLELOCK_RAW_LOCKED 0UL
+#define __SIMPLELOCK_RAW_UNLOCKED 1UL
static __inline int
__SIMPLELOCK_LOCKED_P(__cpu_simple_lock_t *__ptr)