From nobody Sat Mar 05 11:34:15 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2B7EC1A07EDF; Sat, 5 Mar 2022 11:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K9jL004RBz3s4C; Sat, 5 Mar 2022 11:34:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646480056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=irWAD8YT4cA14Y8cpy/RA1dgjfquc4o9JmhV3OlC9RQ=; b=ZSrkLKoR6qJtRQmVTCzFsqIh3RvlwUfCH/WnJCOp3Kz7EPN3sbNlla5D36rVavbHkgUAwX yerewwrYAHX0Qas9imJYRNv9uGcaA8hqMfX4CSTYf+jkBhH8cCdIl2KnVJkac8nsYkoeDO IANEvwCBp+ImOAF9hIRJ/Ye6f5TYs2FNjwQaudS78csKvwpTV+9mcudMRMUtUMUCBRpEbA 3vXWh7IUGJpzvi/nquV2zPN5hl6TJJDxJFcktX2zRc0bIJe7zTgmZZGk7qkONo/KuReTjA f2P6ISxigNbuFHoUD3On4e0DgGMjBpAu2gp1pw/f/6tvBCR6/vFoRK3wubAb3g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C83121F840; Sat, 5 Mar 2022 11:34:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 225BYFLM046498; Sat, 5 Mar 2022 11:34:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 225BYFeQ046497; Sat, 5 Mar 2022 11:34:15 GMT (envelope-from git) Date: Sat, 5 Mar 2022 11:34:15 GMT Message-Id: <202203051134.225BYFeQ046497@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 090eb6f38850 - stable/13 - linuxkpi: Add __var_waitqueue List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 090eb6f388507b5b6504863f33c2d648d7ea076a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646480056; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=irWAD8YT4cA14Y8cpy/RA1dgjfquc4o9JmhV3OlC9RQ=; b=nMkRjwLlyr3LGYPlnMt4Qks66tN42suvrXMm64mB9wClOidUXz4+PkxNR6yajGCJ+aK/dz jxGTS074Cp6FvK3MRSpAJcTASWDdq5Moqfg5oFeL2LqC8uzdae3Vx6yfZWZW18jnTX7yBv yIpdsrLFEynAsoT+z2ik5W+fXKmKdR90YsWn2nIhiJaVFyvJsHrOIpBnLoX7HqevLZoxjI vXcm87jH2XmPYIaOl8+CtDYmyU6IUEeXVWnV8OGXo3yLz0sQdxHcLQ1tQcnkpyTwfP9FcF 0Hf2lQDAwFoulSJDeZn+kvf1kUXarwRpd++1k4pNd6eToeevg4BrL55JzcDcYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646480056; a=rsa-sha256; cv=none; b=opfsUhyT6AJqAPFCiLFLjq3igM2NvZDymNrfBV64cwbbY0y3GRNk+n4InSzIQ3IU/6w242 4L79znducgIbQhTZ1yxY/Sx8hY7isT5CjuAzl5SsHmhrJ+cPWy4wQAlkTtixyBj/YrIAHL bxrGcfFY/wyaMoUreK21v9mbv8wDV5VWBimLOZd4ewZA2VnOBRUEtIkS1SLI3wJyS4wkS4 jR20t70NYP3PfGHzo1mkgTNrPJNPSPG7rirPjYLlkKwp8t8M7+1Uxmu0LOwMgKkuiuJXue 8HwtFrp3w5nuIAR6+bQthLJUrD3rYjP4KXLu7ckJvblosZclW1BO635CQBRgAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=090eb6f388507b5b6504863f33c2d648d7ea076a commit 090eb6f388507b5b6504863f33c2d648d7ea076a Author: Emmanuel Vadot AuthorDate: 2022-02-11 10:33:59 +0000 Commit: Emmanuel Vadot CommitDate: 2022-03-05 11:12:43 +0000 linuxkpi: Add __var_waitqueue This returns the wait queue based on the object but in LinuxKPI we only have one waitqueue for this. Reviewed by: hselasky, bz MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D34250 (cherry picked from commit cb15ed7da2be02b108d732e41bb6e68febf93f90) --- sys/compat/linuxkpi/common/include/linux/wait_bit.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/wait_bit.h b/sys/compat/linuxkpi/common/include/linux/wait_bit.h index 17716583399f..66c1149da432 100644 --- a/sys/compat/linuxkpi/common/include/linux/wait_bit.h +++ b/sys/compat/linuxkpi/common/include/linux/wait_bit.h @@ -64,4 +64,10 @@ wake_up_var(void *var) wake_up(&linux_var_waitq); } +static inline wait_queue_head_t * +__var_waitqueue(void *p) +{ + return (&linux_var_waitq); +} + #endif /* __LINUXKPI_LINUX_WAITBIT_H__ */