From: miod Date: Mon, 14 Aug 2023 07:42:34 +0000 (+0000) Subject: Remove non-MULTIPROCESSOR chunk defining copyin32 as copyin now that all X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=abbd98eac20dc6a00c56b71aeec2ac32f8e8f95a;p=openbsd Remove non-MULTIPROCESSOR chunk defining copyin32 as copyin now that all platforms provide it. --- diff --git a/sys/kern/sys_futex.c b/sys/kern/sys_futex.c index 4aafc4f3fe0..1fd92e6d3eb 100644 --- a/sys/kern/sys_futex.c +++ b/sys/kern/sys_futex.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_futex.c,v 1.21 2022/08/14 01:58:28 jsg Exp $ */ +/* $OpenBSD: sys_futex.c,v 1.22 2023/08/14 07:42:34 miod Exp $ */ /* * Copyright (c) 2016-2017 Martin Pieuchot @@ -32,15 +32,6 @@ #include -/* - * Atomicity is only needed on MULTIPROCESSOR kernels. Fall back on - * copyin(9) until non-MULTIPROCESSOR architectures have a copyin32(9) - * implementation. - */ -#ifndef MULTIPROCESSOR -#define copyin32(uaddr, kaddr) copyin((uaddr), (kaddr), sizeof(uint32_t)) -#endif - /* * Kernel representation of a futex. */