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 Eliminate cast 64-bit address to u_...
details: https://anonhg.NetBSD.org/src/rev/c36710a0c63c
branches: trunk
changeset: 559697:c36710a0c63c
user: nakayama <nakayama%NetBSD.org@localhost>
date: Mon Mar 22 12:24:37 2004 +0000
description:
Eliminate cast 64-bit address to u_long.
diffstat:
sys/arch/sparc64/include/ctlreg.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a90cd4b1d42b -r c36710a0c63c sys/arch/sparc64/include/ctlreg.h
--- a/sys/arch/sparc64/include/ctlreg.h Mon Mar 22 12:21:58 2004 +0000
+++ b/sys/arch/sparc64/include/ctlreg.h Mon Mar 22 12:24:37 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ctlreg.h,v 1.31 2004/03/14 18:18:54 chs Exp $ */
+/* $NetBSD: ctlreg.h,v 1.32 2004/03/22 12:24:37 nakayama Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath
@@ -857,7 +857,7 @@
_stxa_lo = value;
_stxa_hi = ((u_int64_t)value)>>32;
- _loc_hi = (((u_int64_t)(u_long)loc)>>32);
+ _loc_hi = (((u_int64_t)loc)>>32);
if (PHYS_ASI(asi)) {
__asm __volatile("wr %7,%%g0,%%asi; sllx %4,32,%1; "
@@ -903,7 +903,7 @@
_casxa_lo = value;
_casxa_hi = ((u_int64_t)value)>>32;
_oval_hi = ((u_int64_t)oldvalue)>>32;
- _loc_hi = (((u_int64_t)(u_long)loc)>>32);
+ _loc_hi = (((u_int64_t)loc)>>32);
#ifdef __notyet
/*
Home |
Main Index |
Thread Index |
Old Index