diff options
author | alc <alc@FreeBSD.org> | 2002-03-29 18:55:07 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2002-03-29 18:55:07 +0000 |
commit | de718acaf155fcf38b572a45fa1c1d4e0e2eaf05 (patch) | |
tree | 4956812acd2565fff0c2d8113374c1e6b1c4eec7 /sys | |
parent | e535d9bd9bff923975e0c637a99b186ae6e92722 (diff) | |
download | FreeBSD-src-de718acaf155fcf38b572a45fa1c1d4e0e2eaf05.zip FreeBSD-src-de718acaf155fcf38b572a45fa1c1d4e0e2eaf05.tar.gz |
Use the MI vm_map_growstack() instead of the MD grow_stack() in trap().
Diffstat (limited to 'sys')
-rw-r--r-- | sys/alpha/alpha/trap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/alpha/trap.c b/sys/alpha/alpha/trap.c index 9d02500..bfb71bd 100644 --- a/sys/alpha/alpha/trap.c +++ b/sys/alpha/alpha/trap.c @@ -534,13 +534,13 @@ trap(a0, a1, a2, entry, framep) /* * Grow the stack if necessary */ - /* grow_stack returns false only if va falls into + /* vm_map_growstack fails only if va falls into * a growable stack region and the stack growth - * fails. It returns true if va was not within + * fails. It succeeds if va was not within * a growable stack region, or if the stack * growth succeeded. */ - if (!grow_stack (p, va)) + if (vm_map_growstack(p, va) != KERN_SUCCESS) rv = KERN_FAILURE; else /* Fault in the user page: */ |