patch-2.1.110 linux/arch/alpha/kernel/osf_sys.c
Next file: linux/arch/alpha/kernel/smc37c669.c
Previous file: linux/arch/alpha/kernel/mcpcia.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Jul 19 20:44:33 1998
- Orig file:
v2.1.109/linux/arch/alpha/kernel/osf_sys.c
- Orig date:
Wed Jun 24 22:54:03 1998
diff -u --recursive --new-file v2.1.109/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -761,7 +761,7 @@
}
if (uss) {
- unsigned long ss_sp;
+ void *ss_sp;
error = -EFAULT;
if (get_user(ss_sp, &uss->ss_sp))
@@ -776,7 +776,7 @@
/* Since we don't know the extent of the stack, and we don't
track onstack-ness, but rather calculate it, we must
presume a size. Ho hum this interface is lossy. */
- current->sas_ss_sp = ss_sp - SIGSTKSZ;
+ current->sas_ss_sp = (unsigned long)ss_sp - SIGSTKSZ;
current->sas_ss_size = SIGSTKSZ;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov