summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-06-26 20:44:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-06-26 20:44:38 +0000
commit7c672136c45263c45dd893b062ac67475941b819 (patch)
tree30dcd6ae3403520324814788cae0afd691f10b0f /sys/arch/m88k
parent62e1813d146f6a9537a693f0a40fbedcffee9de1 (diff)
Fix alignment problem between savectx and __savectx. How could this have
ever worked?
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r--sys/arch/m88k/m88k/process.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/m88k/m88k/process.S b/sys/arch/m88k/m88k/process.S
index aef28aca221..75368236e2e 100644
--- a/sys/arch/m88k/m88k/process.S
+++ b/sys/arch/m88k/m88k/process.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: process.S,v 1.2 2004/06/13 21:49:17 niklas Exp $ */
+/* $OpenBSD: process.S,v 1.3 2004/06/26 20:44:37 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -290,6 +290,7 @@ ENTRY(savectx)
/*
* Save preserved general register set.
*/
+ NOP
st r1, r2, PCB_PC /* save return address */
ASENTRY(__savectx)
st r14, r2, PCB_R14