diff options
author | kalai <none@none> | 2005-10-04 10:09:58 -0700 |
---|---|---|
committer | kalai <none@none> | 2005-10-04 10:09:58 -0700 |
commit | c2e7b48d563d0e56b74d853118918af352e75cbb (patch) | |
tree | 97f69ed7da60cef3fbe28cbd08089af102f8749e /usr/src/uts/common/disp/thread.c | |
parent | bdcaf82257ab2deb6b46efaaa4bc93a1a44b3885 (diff) | |
download | illumos-joyent-c2e7b48d563d0e56b74d853118918af352e75cbb.tar.gz |
6174746 Need to remove remaining references to __ia64
--HG--
rename : usr/src/uts/common/sys/elf_ia64.h => deleted_files/usr/src/uts/common/sys/elf_ia64.h
Diffstat (limited to 'usr/src/uts/common/disp/thread.c')
-rw-r--r-- | usr/src/uts/common/disp/thread.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/usr/src/uts/common/disp/thread.c b/usr/src/uts/common/disp/thread.c index 0b10f33dc9..6cc6b08098 100644 --- a/usr/src/uts/common/disp/thread.c +++ b/usr/src/uts/common/disp/thread.c @@ -282,9 +282,6 @@ thread_create( kthread_t *t; extern struct classfuncs sys_classfuncs; turnstile_t *ts; -#if defined(__ia64) - size_t regstksize; -#endif /* * Every thread keeps a turnstile around in case it needs to block. @@ -325,11 +322,6 @@ thread_create( cmn_err(CE_PANIC, "thread_create: proposed stack size" " too small to hold thread."); #ifdef STACK_GROWTH_DOWN -#if defined(__ia64) - /* "stksize / 2" may need to be adjusted */ - stksize = stksize / 2; /* needs to match below */ - regstksize = stksize; -#endif stksize -= SA(sizeof (kthread_t) + PTR24_ALIGN - 1); stksize &= -PTR24_ALIGN; /* make thread aligned */ t = (kthread_t *)(stk + stksize); @@ -340,10 +332,6 @@ thread_create( #endif t->t_stk = stk + stksize; t->t_stkbase = stk; -#if defined(__ia64) - t->t_regstk = stk + regstksize; - t->t_stksize = regstksize * 2; /* needs to match above */ -#endif #else /* stack grows to larger addresses */ stksize -= SA(sizeof (kthread_t)); t = (kthread_t *)(stk); @@ -366,16 +354,8 @@ thread_create( * upon entry to the kernel */ #ifdef STACK_GROWTH_DOWN -#if defined(__ia64) - /* "stksize / 2" may need to be adjusted */ - t->t_stk = stk + (stksize / 2); /* grows down */ - t->t_regstk = t->t_stk; /* grows up from same place */ - t->t_stkbase = stk; - t->t_stksize = stksize; -#else t->t_stk = stk + stksize; t->t_stkbase = stk; -#endif #else t->t_stk = stk; /* 3b2-like */ t->t_stkbase = stk + stksize; |