diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-17 20:54:40 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-08-17 20:54:40 +0000 |
commit | b625afe6d5727f59623a59502962b20bdcb0fcea (patch) | |
tree | 71f9cc9ab7c295703dcbfd33fe724e66d38335c9 | |
parent | 2714a69360aac06dbb2c212f375e2a68c7afdc93 (diff) |
Set the PSL_O bit, like we do for 64-bit capable CPUs on hppa.
-rw-r--r-- | sys/arch/hppa64/hppa64/vm_machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/hppa64/hppa64/vm_machdep.c b/sys/arch/hppa64/hppa64/vm_machdep.c index 4cc3dccfc31..d4c1180ec20 100644 --- a/sys/arch/hppa64/hppa64/vm_machdep.c +++ b/sys/arch/hppa64/hppa64/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.14 2011/07/07 18:18:38 kettenis Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.15 2011/08/17 20:54:39 kettenis Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -136,7 +136,8 @@ cpu_fork(p1, p2, stack, stacksize, func, arg) */ tf->tf_sr7 = HPPA_SID_KERNEL; tf->tf_eiem = mfctl(CR_EIEM); - tf->tf_ipsw = PSL_W | PSL_C | PSL_Q | PSL_P | PSL_D | PSL_I /* | PSL_L */; + tf->tf_ipsw = PSL_C | PSL_Q | PSL_P | PSL_D | PSL_I /* | PSL_L */ | + PSL_O | PSL_W; /* * If specified, give the child a different stack. |