diff options
author | wtc%netscape.com <devnull@localhost> | 2001-06-09 19:52:18 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2001-06-09 19:52:18 +0000 |
commit | 87adadd8f7ce537e9bab9ef63aa8af0708674cef (patch) | |
tree | 2d3d50cab6c88552158452cc9c82c0aff644c1ef | |
parent | d4fb0454c2d229e39e18b7b16302d6c53c1777fe (diff) | |
download | nspr-hg-87adadd8f7ce537e9bab9ef63aa8af0708674cef.tar.gz |
Bugzilla bug #40941: Checked in Linux/ia64 patch from Bill Nottingham
<notting@redhat.com>. It is for NSPR local threads, which we no longer
use now that we have pthreads. I don't know if it works, but I check it
in anyway so that it is not lost.
-rw-r--r-- | pr/include/md/_linux.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pr/include/md/_linux.h b/pr/include/md/_linux.h index ca461bd9..f53a4a5c 100644 --- a/pr/include/md/_linux.h +++ b/pr/include/md/_linux.h @@ -177,6 +177,16 @@ extern void _MD_CleanupBeforeExit(void); /* XXX not sure if this is correct, or maybe it should be 17? */ #define PR_NUM_GCREGS 9 +#elif defined(__ia64__) + +#define _MD_GET_SP(_t) ((long *)((_t)->md.context[0].__jmpbuf)[0]) +#define _MD_SET_FP(_t, val) +#define _MD_GET_SP_PTR(_t) &(_MD_GET_SP(_t)) +#define _MD_GET_FP_PTR(_t) ((void *) 0) +#define _MD_SP_TYPE long int + +#define PR_NUM_GCREGS _JBLEN + #elif defined(__mc68000__) /* m68k based Linux */ |