svn commit: r195396 - projects/mips/sys/mips/mips

Warner Losh imp at FreeBSD.org
Mon Jul 6 07:46:13 UTC 2009


Author: imp
Date: Mon Jul  6 07:46:13 2009
New Revision: 195396
URL: http://svn.freebsd.org/changeset/base/195396

Log:
  Pass in the uint64 value, rather than a pointer to it.  that's what
  the function expects...

Modified:
  projects/mips/sys/mips/mips/db_interface.c

Modified: projects/mips/sys/mips/mips/db_interface.c
==============================================================================
--- projects/mips/sys/mips/mips/db_interface.c	Mon Jul  6 07:45:02 2009	(r195395)
+++ projects/mips/sys/mips/mips/db_interface.c	Mon Jul  6 07:46:13 2009	(r195396)
@@ -197,7 +197,7 @@ db_write_bytes(vm_offset_t addr, size_t 
 				break;
 			case 8:
 				atomic_store_64((volatile u_int64_t *)addr,
-				    (u_int64_t *)data);
+				    *(u_int64_t *)data);
 			break;
 			}
 		} else {


More information about the svn-src-projects mailing list