From nobody Thu Aug 18 09:10:04 2022 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 4M7fH03JWYz4YwvL; Thu, 18 Aug 2022 09:10:04 +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 4M7fH02jp2z3PDW; Thu, 18 Aug 2022 09:10:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813804; 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=AWQCSJ/SisKmzTLirhpxC+JFYQs8itujL5tRamRz1Ek=; b=GsYk445KAwMzMV0tqLrQAcGT3xMV1YOotGqD4g2gQWJeIR4xrdI5Biap3fb3VC3e9s3iqQ CusW0Rwgw5nckYGS0aZULG6DL9nMF/eV2rpWxl0GyUsyKI3xv9hHn7RJ2jBHB++XbFSWST 0u/o6F32BXwq78r0SYNfDTq4sQvlse9ML6+lXSK9c31txwf4QkEsXOM407ehq4BE9AAH5V A3gMIg1oMd7xDGschVj1Sa2ZQ2ZPkt5kZY3CqZGozxKgH1fXFRS/CBX6syd3OYD2ioXMFv f7GazzRhVdlDI6Jd1le1d/q5shQHJOh01hdGxvCl0Y1eg23i9AZSY1ynf7zT1A== 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 4M7fH01lbbz1NFn; Thu, 18 Aug 2022 09:10:04 +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 27I9A4Mo016807; Thu, 18 Aug 2022 09:10:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27I9A4Zu016805; Thu, 18 Aug 2022 09:10:04 GMT (envelope-from git) Date: Thu, 18 Aug 2022 09:10:04 GMT Message-Id: <202208180910.27I9A4Zu016805@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 8828ebd6fc40 - main - linuxkpi: Add sched/mm.h 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8828ebd6fc406520273e59807e66e24eae654f71 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660813804; 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=AWQCSJ/SisKmzTLirhpxC+JFYQs8itujL5tRamRz1Ek=; b=JBefdIqB1Ab0wgFpF73sjC3ALJSf0Vz/aFPkoe2ezbqUteLcbXRw3SftdcoqPeEQSm8CPy fdLlqtFzwuZZ3XVGHvQ/f/XdkeBaKCVnG2PISJ4l5DK6X8DlAqFBMuZG/NtWDoIow5nN05 LDBHWapmm5Qy/unwmrP0J9yvRQGDJdE2p4qOedyKDfyJZj0G4EeeI36pVz/C3ABqZhkQ3O 0QempTWLMSQ1v+PV9fTxMaefeR0kjltz+RuNtnFHGBnTchtg6rb89GQh4IT2RITBmYcGtD ftZygqkF6BNSZkIkCQCeTcvdhpovPifLsdRfgfiDxnR4wI5RycW4QlFXWKSGQg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660813804; a=rsa-sha256; cv=none; b=MUVoM5q7AZO3Kt/kbBavePxNSh6B9G2IkcJ35frL0kFJzXhTGXy/ETGQlcML6ZXmwY9tw8 fk1FOKabGdk86apzZvX0I7LbCJGPwcD64lzkZ7hF8qEVcFMpaQ7+eg6nRkGPw8y1IWMGMI 1d71F5K1gEI4D47w6fIDIr2pmVATyAlCL8sPk4FybUtaLSfyzYIwOTsFov9BN9CpFdLFkv nDWotdGpfhpjfepEddr6WgGmsWhm20AsZOlXR95wPzvkweqAWrSN9cLERDeCDDKHlYmA0e DH0tvpO9DdNt4qycocHI8u0UADq/mwvX0oyKDya0I3meLngkBED6URk0TJIgbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=8828ebd6fc406520273e59807e66e24eae654f71 commit 8828ebd6fc406520273e59807e66e24eae654f71 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:30:29 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-18 07:46:29 +0000 linuxkpi: Add sched/mm.h With stubs needed by drm-kmod. Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36100 --- .../linuxkpi/common/include/linux/sched/mm.h | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/sched/mm.h b/sys/compat/linuxkpi/common/include/linux/sched/mm.h new file mode 100644 index 000000000000..613473e142a9 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/sched/mm.h @@ -0,0 +1,40 @@ +/*- + * Copyright (c) 2021 Beckhoff Automation GmbH & Co. KG + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + */ + +#ifndef _LINUXKPI_LINUX_SCHED_MM_H_ +#define _LINUXKPI_LINUX_SCHED_MM_H_ + +#include + +#define fs_reclaim_acquire(x) do { \ + } while (0) +#define fs_reclaim_release(x) do { \ + } while (0) +#define memalloc_nofs_save(x) 0 +#define memalloc_nofs_restore(x) do { \ + } while (0) + +#endif /* _BSD_LKPI_LINUX_SCHED_MM_H_ */