Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/include Fix a declaration inside __ldstub().
details: https://anonhg.NetBSD.org/src/rev/26cee8ed40c0
branches: trunk
changeset: 485561:26cee8ed40c0
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon May 01 00:46:29 2000 +0000
description:
Fix a declaration inside __ldstub().
diffstat:
sys/arch/sparc64/include/lock.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0f364113f2fe -r 26cee8ed40c0 sys/arch/sparc64/include/lock.h
--- a/sys/arch/sparc64/include/lock.h Mon May 01 00:12:26 2000 +0000
+++ b/sys/arch/sparc64/include/lock.h Mon May 01 00:46:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.5 2000/04/29 03:31:55 thorpej Exp $ */
+/* $NetBSD: lock.h,v 1.6 2000/05/01 00:46:29 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
/* XXX So we can expose this to userland. */
#define __ldstub(__addr) \
({ \
- __v; \
+ int __v; \
\
__asm __volatile("ldstub [%1],%0" \
: "=r" (__v) \
Home |
Main Index |
Thread Index |
Old Index