From nobody Mon Jan 30 22:17:36 2023 X-Original-To: dev-commits-src-all@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 4P5MxY16JQz3bGkQ; Mon, 30 Jan 2023 22:17:37 +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 4P5MxY0M1tz4Bx6; Mon, 30 Jan 2023 22:17:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675117057; 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=Zqh6DFI28AR3ZgfRHoS4WMRp2KKL9XqQSzeb2lInDyM=; b=TL6oQwHkbOKt+DvR/UKpAHMubi2vOwzjzfP/bUbnwrbzqG0iDlcZxqPIBvDfQLgFD/dCRD CWOGH4yEsM/XvmLQXb3qD4dxHNp+62A6/uDdt1jNXC77Yqpg3nPqSN+DNlsVmTZ6I3gZU3 09ykGqDwl4wjBUDckO/OV17/NOnp9Ix0VyVvC36aNMz4BCxleoZd5up57nQyaEGFmpnYBn xoyczPjlNiI7cN+y4JWzexF/PwP6587MyaQITSqhN+jl3be2qgRMVF+OIyIGf5XAjZuQJ/ 0ARelhhGGXsn7z4SrMYbHsv1EcS6CQMg6KwcCfouMPNy0sdE2Ca+MOkskYD6ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675117057; 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=Zqh6DFI28AR3ZgfRHoS4WMRp2KKL9XqQSzeb2lInDyM=; b=B7g/p83abptzzB9BhvB9nQgGVGIGcg3G8Sx+54OEAhGRW1CtbqTASc898MXA/2G+NbnOXg 0jEApx9fr78ZX1UgpJmtCDXlRDMuecBG19XBV09iESJLgF+dqO1g2U7+j53Zf3kRK6MgpX BK36cs/r2OqowgeqHTmaRsIrzKiIgzJHYBXsaHI2KMElIhZBpFklib7wVApTNKVcm7dx/v k8p5y57c/VbnMKVreH+u+T1IPv6LEK0qz9UYe2UGhWWhOlJ/wlbpevqx3isWo/0N5Ggku8 wVTCAtXw38Hwm12TCRNFCCs9Orr03KLH5DA4j21TmNSEoz4mbTrW062uaPMSdg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675117057; a=rsa-sha256; cv=none; b=I5Q9Svg20TPHFYQKgWs8hpaUZxckj5cLDYwqX/rADcbmT+tcdnRBe/R5ESIqWtAnCBQnSC EtWdr1J93EzRzp4nAi6FN7n+fDWGGFzX6jlPeX5e9fZtdTPVgUj9d0bjMkiL8rokU7NuSD jZ30n8RZH7Jyaw4CEhYBpcgQ/xGHxJPuRgVhWPVMAA32bDpvrHHe6B4Z/7Ecy4Az+A5w60 tXgAcLe+icVCGwavy39teoWzcOWwWTzmURXEpjRF/sCmMWTXwutiHFmKnJe7NOVXXdmJoe 8qwSJsIJwLPJmQ7cdr29qGwMkdZMrvwBCcMhRsTkt0U2RHigkd/RzkThA6gH9w== 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 4P5MxX6ZqBzQNR; Mon, 30 Jan 2023 22:17:36 +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 30UMHadj060251; Mon, 30 Jan 2023 22:17:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UMHaRF060250; Mon, 30 Jan 2023 22:17:36 GMT (envelope-from git) Date: Mon, 30 Jan 2023 22:17:36 GMT Message-Id: <202301302217.30UMHaRF060250@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 19be627cfda7 - main - linuxkpi: Define `might_alloc()` List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 19be627cfda7e509fc3444fd57de8a0a501aee04 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=19be627cfda7e509fc3444fd57de8a0a501aee04 commit 19be627cfda7e509fc3444fd57de8a0a501aee04 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-19 00:15:35 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-30 22:08:45 +0000 linuxkpi: Define `might_alloc()` ... as a no-op. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D38146 --- sys/compat/linuxkpi/common/include/linux/mm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h index c6861cc2acbf..40f63c2cffdf 100644 --- a/sys/compat/linuxkpi/common/include/linux/mm.h +++ b/sys/compat/linuxkpi/common/include/linux/mm.h @@ -348,6 +348,11 @@ void lkpi_unmap_mapping_range(void *obj, loff_t const holebegin __unused, void vma_set_file(struct vm_area_struct *vma, struct linux_file *file); +static inline void +might_alloc(gfp_t gfp_mask __unused) +{ +} + #define is_cow_mapping(flags) (false) #endif /* _LINUXKPI_LINUX_MM_H_ */