Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/include FIx declaration in __ldstub.
details: https://anonhg.NetBSD.org/src/rev/8b0f5a905413
branches: trunk
changeset: 485554:8b0f5a905413
user: pk <pk%NetBSD.org@localhost>
date: Sun Apr 30 22:15:30 2000 +0000
description:
FIx declaration in __ldstub.
diffstat:
sys/arch/sparc/include/lock.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 93d123b2dd3b -r 8b0f5a905413 sys/arch/sparc/include/lock.h
--- a/sys/arch/sparc/include/lock.h Sun Apr 30 22:03:24 2000 +0000
+++ b/sys/arch/sparc/include/lock.h Sun Apr 30 22:15:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lock.h,v 1.7 2000/04/29 03:31:55 thorpej Exp $ */
+/* $NetBSD: lock.h,v 1.8 2000/04/30 22:15:30 pk 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