aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_smp.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
committerJulian Elischer <julian@FreeBSD.org>2003-04-10 17:35:44 +0000
commit060563ec50bb91f09342fce9faf1878fdaafff0b (patch)
treea36a5c6a854637e4e73e7256b937922489d07ddb /sys/kern/subr_smp.c
parentfff890d0e8f5cb43b2704c0c5fc39cbbc8a32077 (diff)
downloadsrc-060563ec50bb91f09342fce9faf1878fdaafff0b.tar.gz
src-060563ec50bb91f09342fce9faf1878fdaafff0b.zip
Move the _oncpu entry from the KSE to the thread.
The entry in the KSE still exists but it's purpose will change a bit when we add the ability to lock a KSE to a cpu.
Notes
Notes: svn path=/head/; revision=113339
Diffstat (limited to 'sys/kern/subr_smp.c')
-rw-r--r--sys/kern/subr_smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c
index f65987f53091..897e0f0bb213 100644
--- a/sys/kern/subr_smp.c
+++ b/sys/kern/subr_smp.c
@@ -142,7 +142,7 @@ forward_signal(struct thread *td)
if (td == curthread)
return;
- id = td->td_kse->ke_oncpu;
+ id = td->td_oncpu;
if (id == NOCPU)
return;
ipi_selected(1 << id, IPI_AST);