summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index d3cdb59..38a5f5b 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -997,36 +997,6 @@ pmap_dispose_thread(td)
}
/*
- * Set up a variable sized alternate kstack. Though it may look MI, it may
- * need to be different on certain arches like ia64.
- */
-void
-pmap_new_altkstack(struct thread *td, int pages)
-{
- /* shuffle the original stack */
- td->td_altkstack_obj = td->td_kstack_obj;
- td->td_altkstack = td->td_kstack;
- td->td_altkstack_pages = td->td_kstack_pages;
-
- pmap_new_thread(td, pages);
-}
-
-void
-pmap_dispose_altkstack(td)
- struct thread *td;
-{
- pmap_dispose_thread(td);
-
- /* restore the original kstack */
- 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 Kernel stack for a thread to be prejudicially paged out.
*/
void
OpenPOWER on IntegriCloud