From 592435f965c1966a185d3eb7925b4c1dbf8faadf Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 22 Oct 2006 10:50:44 +0000 Subject: [PATCH] don't drop const in cpu_setmcontext32(). --- sys/arch/sparc64/sparc64/netbsd32_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc64/sparc64/netbsd32_machdep.c b/sys/arch/sparc64/sparc64/netbsd32_machdep.c index b6af7ce12f9f..8c0d960cb8dd 100644 --- a/sys/arch/sparc64/sparc64/netbsd32_machdep.c +++ b/sys/arch/sparc64/sparc64/netbsd32_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32_machdep.c,v 1.62 2006/07/17 11:36:50 martin Exp $ */ +/* $NetBSD: netbsd32_machdep.c,v 1.63 2006/10/22 10:50:44 mrg Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.62 2006/07/17 11:36:50 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.63 2006/10/22 10:50:44 mrg Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -1208,7 +1208,7 @@ int cpu_setmcontext32(struct lwp *l, const mcontext32_t *mcp, unsigned int flags) { struct trapframe *tf = l->l_md.md_tf; - __greg32_t *gr = mcp->__gregs; + const __greg32_t *gr = mcp->__gregs; /* First ensure consistent stack state (see sendsig). */ write_user_windows();