diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 2004-06-13 21:49:30 +0000 |
commit | 2dd254afa61a7c0cc5ae920b463d3d4266852804 (patch) | |
tree | 7adbebef3be24ba910fd83ee1ba09e1577ae21a8 /sys/arch/arm | |
parent | 4d62e331dcde739b4067d712dd602c0927ce11b3 (diff) |
debranch SMP, have fun
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/cpuswitch.S | 8 | ||||
-rw-r--r-- | sys/arch/arm/arm/genassym.cf | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/arm/arm/cpuswitch.S b/sys/arch/arm/arm/cpuswitch.S index e7f673a8a45..813bb1c813f 100644 --- a/sys/arch/arm/arm/cpuswitch.S +++ b/sys/arch/arm/arm/cpuswitch.S @@ -1,4 +1,4 @@ -/* $OpenBSD: cpuswitch.S,v 1.2 2004/02/01 06:10:33 drahn Exp $ */ +/* $OpenBSD: cpuswitch.S,v 1.3 2004/06/13 21:49:13 niklas Exp $ */ /* $NetBSD: cpuswitch.S,v 1.41 2003/11/15 08:44:18 scw Exp $ */ /* @@ -537,11 +537,9 @@ ENTRY(cpu_switch) /* l->l_cpu initialized in fork1() for single-processor */ #endif -#if 0 /* Process is now on a processor. */ - mov r0, #LSONPROC /* l->l_stat = LSONPROC */ - str r0, [r6, #(P_STAT)] -#endif + mov r0, #SONPROC /* p->p_stat = SONPROC */ + strb r0, [r6, #(P_STAT)] /* We have a new curproc now so make a note it */ ldr r7, .Lcurproc diff --git a/sys/arch/arm/arm/genassym.cf b/sys/arch/arm/arm/genassym.cf index 6803c524393..83733107879 100644 --- a/sys/arch/arm/arm/genassym.cf +++ b/sys/arch/arm/arm/genassym.cf @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.cf,v 1.2 2004/02/14 15:34:31 miod Exp $ +# $OpenBSD: genassym.cf,v 1.3 2004/06/13 21:49:13 niklas Exp $ # $NetBSD: genassym.cf,v 1.27 2003/11/04 10:33:16 dsl Exp$ # Copyright (c) 1982, 1990 The Regents of the University of California. @@ -83,6 +83,8 @@ export PAGE_SHIFT export P_TRACED export P_PROFIL +export SONPROC + struct proc member p_forw member p_back |