diff --git a/sys/arch/arm26/arm26/process_machdep.c b/sys/arch/arm26/arm26/process_machdep.c index a4c2bd4d5196..ad132dec2b88 100644 --- a/sys/arch/arm26/arm26/process_machdep.c +++ b/sys/arch/arm26/arm26/process_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: process_machdep.c,v 1.2 2001/01/22 22:10:43 bjh21 Exp $ */ +/* $NetBSD: process_machdep.c,v 1.3 2001/02/10 19:09:48 bjh21 Exp $ */ /*- * Copyright (c) 2000 Ben Harris * All rights reserved. @@ -32,7 +32,7 @@ #include -__RCSID("$NetBSD: process_machdep.c,v 1.2 2001/01/22 22:10:43 bjh21 Exp $"); +__RCSID("$NetBSD: process_machdep.c,v 1.3 2001/02/10 19:09:48 bjh21 Exp $"); #include #include @@ -78,7 +78,6 @@ process_read_regs(struct proc *p, struct reg *regs) regs->r[10] = tf->tf_r10; regs->r[11] = tf->tf_r11; regs->r[12] = tf->tf_r12; - regs->r[13] = tf->tf_r13; regs->r_sp = tf->tf_r13; /* XXX */ regs->r_lr = tf->tf_r14; regs->r_pc = tf->tf_r15; /* XXX name? */ @@ -107,7 +106,7 @@ process_write_regs(struct proc *p, struct reg *regs) tf->tf_r10 = regs->r[10]; tf->tf_r11 = regs->r[11]; tf->tf_r12 = regs->r[12]; - tf->tf_r13 = regs->r[13]; + tf->tf_r13 = regs->r_sp; tf->tf_r14 = regs->r_lr; tf->tf_r15 = regs->r_pc; return 0;