From 8ef6f226da841c8e1fd1c260e8ff23c0220c3605 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar <marcel@FreeBSD.org> Date: Sat, 31 May 2003 21:02:18 +0000 Subject: [PATCH] Make the regset pointers const pointers for the context restore functions. This works better with set_mcontext() and is more precise in general. --- sys/ia64/include/_regset.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/ia64/include/_regset.h b/sys/ia64/include/_regset.h index 1a8941998374..7e544ed7953f 100644 --- a/sys/ia64/include/_regset.h +++ b/sys/ia64/include/_regset.h @@ -169,9 +169,9 @@ struct _caller_saved_fp { }; #ifdef _KERNEL -void restore_callee_saved(struct _callee_saved *); -void restore_callee_saved_fp(struct _callee_saved_fp *); -void restore_high_fp(struct _high_fp *); +void restore_callee_saved(const struct _callee_saved *); +void restore_callee_saved_fp(const struct _callee_saved_fp *); +void restore_high_fp(const struct _high_fp *); void save_callee_saved(struct _callee_saved *); void save_callee_saved_fp(struct _callee_saved_fp *); void save_high_fp(struct _high_fp *);