diff options
author | marcel <marcel@FreeBSD.org> | 2003-05-31 21:02:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-05-31 21:02:18 +0000 |
commit | dc5393a5ef554e028789af02aca0face542fc3ef (patch) | |
tree | 0ca32dd98f9b039dfe03f5c97c94fc45653754e2 /sys | |
parent | e4d5efee3904d9c754b521809c7331fb9bf66ec0 (diff) | |
download | FreeBSD-src-dc5393a5ef554e028789af02aca0face542fc3ef.zip FreeBSD-src-dc5393a5ef554e028789af02aca0face542fc3ef.tar.gz |
Make the regset pointers const pointers for the context restore functions.
This works better with set_mcontext() and is more precise in general.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/include/_regset.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/include/_regset.h b/sys/ia64/include/_regset.h index 1a89419..7e544ed 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 *); |