diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-13 18:22:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-13 18:22:53 +0000 |
commit | 3b753e411218cc322a044266e00219c73d066f16 (patch) | |
tree | 0ba4d54c3e898e5042a34b78f4a0f1b72d13d843 /sys/alpha | |
parent | aae23a8b8ddb6c234f5d9314e0426755b9f16ca3 (diff) | |
download | FreeBSD-src-3b753e411218cc322a044266e00219c73d066f16.zip FreeBSD-src-3b753e411218cc322a044266e00219c73d066f16.tar.gz |
Import the global sched_lock variable instead of using a private copy. This
fixes a problem where cpu_switch() wasn't properly saving and restoring
the recursion count for sched_lock.
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/alpha/swtch.s | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/alpha/alpha/swtch.s b/sys/alpha/alpha/swtch.s index f457a34..ad4526e 100644 --- a/sys/alpha/alpha/swtch.s +++ b/sys/alpha/alpha/swtch.s @@ -86,6 +86,7 @@ Lsavectx1: LDGP(pv) IMPORT(want_resched, 4) IMPORT(Lev1map, 8) +IMPORT(sched_lock, 72) /* * cpu_switch() |