From nobody Fri Nov 11 20:05:03 2022 X-Original-To: dev-commits-src-main@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 4N88nW5T4wz4fs3X; Fri, 11 Nov 2022 20:05:03 +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 4N88nW4kvYz4Jng; Fri, 11 Nov 2022 20:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668197103; 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=o9PBiE7GgZH0LfZnhUlNpjWQYQmWnyImqCC/yYnEuMo=; b=xFr90QsvZCmOgp8lomUmFa6WO/yGPEU4e41Pth0whSeEBJkkwvambunCl9ZoUpsMslqYl+ hXkUlPDfOGdOKGfzKKxQpBZk+bBYtKyJ8X9wPMUF7i/Qk63skeXgA6W1uWa4k2Js45VjjZ qKSOh6ZoBORC7xF5MZtY9FwT16bqzh/VkgZmJgbonEmjXetl/F+NF275luLw49Ab5551y6 qED9LiIuxG9j7jQgZp3rLPpaXB3mA8vWgPQ622YlbHkSxYIYpHBpoxxZtRN1kC/QFqKO8K /pTNliNfPP/slnQK2cT7aP49C034Hoq31WCWCqELzdJxC7IQJRSUgddJDQipaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668197103; 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=o9PBiE7GgZH0LfZnhUlNpjWQYQmWnyImqCC/yYnEuMo=; b=lB1rKmt+k1FtFiVE8No+C9rnKrX3WMWdZ4RKa8uYX/TjGX0ZJffFjpDuZVmbi9dK5dR9Ex 8eZDqDk4woXWIZ/i3Q94QnuMkUiVVv66Hq9pQ6zKweHjQZ/3ubVUyqUSlxxFBhanNHTBqs 2+pzEfKjDDBQjVTqKHgqapGVuEd+/SAjUQ4dgwoL2Va/QWKKRdEWi+RdWwQ/ftvVFzxWpL Di3inzKMuYgTG3kw5382dqOYmNqbOQU43pBPsuv+zAhVwdnucbn3dgM36F1v/aSB4ZCAPv V0zZPS+7DxfgIIVQVOzAIMY3JhJCad/V5pggZT8BTTgkdg89JneuAX42U7SXCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668197103; a=rsa-sha256; cv=none; b=JVQH/iKZeFrNkdyaibNkx0RPOpTR0zEhkrZaX3n8afCgHwduFrJTe7N7esK7IQt4U5ao2j aI58EbCL5atPVrGcJ/Z4x1R2JRvQvD7er6KyizkXtLEJ/JMTIj5owiO1E8unS/E7dcBbZC HH4EVGNJ0bcCHZkglDsa7mcVXRgu4U0K1AOA2P03VOxIyRCXo4V5Em5dWoWxFlI75buZCq /LMVuf1rQFLrPwQWglaIEDYuv9zr8qrpUKtQhbIJDY9pegpoBwRcHLHciRUo+io7A+Uwsy PRZtF9Vk2WXsdITJ0X6M3yKcVdUj5jLTkh3/GwNrtHWsZEkYPpxxV4/Z36MB0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4N88nW3hyyzwMS; Fri, 11 Nov 2022 20:05:03 +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 2ABK53Na033717; Fri, 11 Nov 2022 20:05:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ABK53b7033716; Fri, 11 Nov 2022 20:05:03 GMT (envelope-from git) Date: Fri, 11 Nov 2022 20:05:03 GMT Message-Id: <202211112005.2ABK53b7033716@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: 708a570255a4 - main - linuxkpi: Add List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 708a570255a491b5979d1b12f5b77ad4bc8ac8f0 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=708a570255a491b5979d1b12f5b77ad4bc8ac8f0 commit 708a570255a491b5979d1b12f5b77ad4bc8ac8f0 Author: Jean-Sébastien Pédron AuthorDate: 2022-11-11 19:56:42 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2022-11-11 19:56:42 +0000 linuxkpi: Add It just provides a `PageHighMem()` macro stub. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D36961 --- .../linuxkpi/common/include/linux/page-flags.h | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/page-flags.h b/sys/compat/linuxkpi/common/include/linux/page-flags.h new file mode 100644 index 000000000000..9dd49c8492a5 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/page-flags.h @@ -0,0 +1,34 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2022 Jean-Sébastien Pédron + * + * 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_PAGEFLAGS_H_ +#define _LINUXKPI_LINUX_PAGEFLAGS_H_ + +#define PageHighMem(p) (0) + +#endif /* _LINUXKPI_LINUX_PAGEFLAGS_H_ */