diff options
author | alc <alc@FreeBSD.org> | 2003-06-14 06:20:25 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2003-06-14 06:20:25 +0000 |
commit | d20c30720bd75946190688b47500e9780baef631 (patch) | |
tree | dd61e4c6e73f5c138ec859061b2bcca151d658da /sys/ia64 | |
parent | a80cfe492357d8c190a91f25d7c62688b38e5c4a (diff) | |
download | FreeBSD-src-d20c30720bd75946190688b47500e9780baef631.zip FreeBSD-src-d20c30720bd75946190688b47500e9780baef631.tar.gz |
Move the *_new_altkstack() and *_dispose_altkstack() functions out of the
various pmap implementations into the machine-independent vm. They were
all identical.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/pmap.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index 2e9d472..dd6ba1d 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -797,32 +797,6 @@ pmap_dispose_thread(struct thread *td) } /* - * Set up a variable sized alternate kstack. This appears to be MI. - */ -void -pmap_new_altkstack(struct thread *td, int pages) -{ - - td->td_altkstack = td->td_kstack; - td->td_altkstack_obj = td->td_kstack_obj; - td->td_altkstack_pages = td->td_kstack_pages; - pmap_new_thread(td, pages); -} - -void -pmap_dispose_altkstack(struct thread *td) -{ - - pmap_dispose_thread(td); - td->td_kstack = td->td_altkstack; - td->td_kstack_obj = td->td_altkstack_obj; - td->td_kstack_pages = td->td_altkstack_pages; - td->td_altkstack = 0; - td->td_altkstack_obj = NULL; - td->td_altkstack_pages = 0; -} - -/* * Allow the KSTACK for a thread to be prejudicially paged out. */ void |