diff options
-rw-r--r-- | sys/ia64/ia64/pmap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c index 4b65917..1247360 100644 --- a/sys/ia64/ia64/pmap.c +++ b/sys/ia64/ia64/pmap.c @@ -875,6 +875,9 @@ pmap_new_thread(struct thread *td) PAGE_SIZE, 256*1024*1024); + if (ks == NULL) + panic("pmap_new_thread: could not contigmalloc %d pages\n", + KSTACK_PAGES); td->td_md.md_kstackvirt = ks; td->td_kstack = IA64_PHYS_TO_RR7(ia64_tpa((u_int64_t)ks)); } |