summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_sched.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2004-06-13 21:49:11 +0000
committerniklas <niklas@openbsd.org>2004-06-13 21:49:11 +0000
commit012ea299774669efba934275e67c4a60442e6b8f (patch)
treeda63a74b180d761c4296cdfaf0bf022a19b90dc8 /sys/compat/linux/linux_sched.c
parentregen (diff)
downloadwireguard-openbsd-012ea299774669efba934275e67c4a60442e6b8f.tar.xz
wireguard-openbsd-012ea299774669efba934275e67c4a60442e6b8f.zip
debranch SMP, have fun
Diffstat (limited to 'sys/compat/linux/linux_sched.c')
-rw-r--r--sys/compat/linux/linux_sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_sched.c b/sys/compat/linux/linux_sched.c
index 4d47196b37f..c5b1b008db9 100644
--- a/sys/compat/linux/linux_sched.c
+++ b/sys/compat/linux/linux_sched.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_sched.c,v 1.3 2001/11/06 18:41:10 art Exp $ */
+/* $OpenBSD: linux_sched.c,v 1.4 2004/06/13 21:49:23 niklas Exp $ */
/* $NetBSD: linux_sched.c,v 1.6 2000/05/28 05:49:05 thorpej Exp $ */
/*-
@@ -272,7 +272,7 @@ linux_sys_sched_yield(cp, v, retval)
void *v;
register_t *retval;
{
- need_resched();
+ need_resched(curcpu());
return (0);
}