From 362b187ff0fb3c35c3997c71e06e567f453746ac Mon Sep 17 00:00:00 2001 From: pooka Date: Sun, 22 Oct 2006 13:59:14 +0000 Subject: [PATCH] constify in cpu_setmcontext() --- sys/arch/sparc64/sparc64/machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 866f1bcc1b0b..4ea0539c4311 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.191 2006/10/05 14:48:32 chs Exp $ */ +/* $NetBSD: machdep.c,v 1.192 2006/10/22 13:59:14 pooka Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -78,7 +78,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.191 2006/10/05 14:48:32 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.192 2006/10/22 13:59:14 pooka Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -1882,7 +1882,7 @@ cpu_getmcontext(struct lwp *l, mcontext_t *mcp, unsigned int *flags) int cpu_setmcontext(struct lwp *l, const mcontext_t *mcp, unsigned int flags) { - __greg_t *gr = mcp->__gregs; + const __greg_t *gr = mcp->__gregs; struct trapframe64 *tf = l->l_md.md_tf; /* First ensure consistent stack state (see sendsig). */