svn commit: r286216 - stable/10/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Mon Aug 3 03:08:49 UTC 2015
Author: kib
Date: Mon Aug 3 03:08:48 2015
New Revision: 286216
URL: https://svnweb.freebsd.org/changeset/base/286216
Log:
Fix ia64 to not override the call stack bottom address with the
register stack bottom address, after the merge of r284956 in r285967.
Note: this is a direct commit to stable/10.
Reported and tested by: clusteradm (peter)
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/sys/kern/kern_exec.c
Modified: stable/10/sys/kern/kern_exec.c
==============================================================================
--- stable/10/sys/kern/kern_exec.c Mon Aug 3 01:24:48 2015 (r286215)
+++ stable/10/sys/kern/kern_exec.c Mon Aug 3 03:08:48 2015 (r286216)
@@ -1104,8 +1104,7 @@ exec_new_vmspace(imgp, sv)
#ifdef __ia64__
/* Allocate a new register stack */
- stack_addr = IA64_BACKINGSTORE;
- error = vm_map_stack(map, stack_addr, (vm_size_t)ssiz,
+ error = vm_map_stack(map, IA64_BACKINGSTORE, (vm_size_t)ssiz,
sv->sv_stackprot, VM_PROT_ALL, MAP_STACK_GROWS_UP);
if (error)
return (error);
More information about the svn-src-stable
mailing list