From 025e48c64cd97250f9cdb56af77e172bf3e2ff24 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 6 Jul 2009 07:46:13 +0000 Subject: [PATCH] Pass in the uint64 value, rather than a pointer to it. that's what the function expects... --- sys/mips/mips/db_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/mips/mips/db_interface.c b/sys/mips/mips/db_interface.c index 455c03e4dc5b..80f65f23f643 100644 --- a/sys/mips/mips/db_interface.c +++ b/sys/mips/mips/db_interface.c @@ -197,7 +197,7 @@ db_write_bytes(vm_offset_t addr, size_t size, char *data) break; case 8: atomic_store_64((volatile u_int64_t *)addr, - (u_int64_t *)data); + *(u_int64_t *)data); break; } } else {