From nobody Tue Jan 24 08:54:05 2023 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 4P1LP954hQz30wvb; Tue, 24 Jan 2023 08:54:05 +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 4P1LP93wxjz3R3b; Tue, 24 Jan 2023 08:54:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550445; 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=xEryyTgxoWLLBBMjQ7mbC9gwbvQWFnGT3wdyo3oo40w=; b=F4OE1c7iHqz7iuftw+bWHPi6c6CRc8oYJ9UzEyyW9wNYpABtSuv+t4KTzZeAbxm0SApRwZ hlRJ0Oi8m4eNnvX9GyO8h+fafJX66FiTMflol+nzi2yI81E32mZ89c1nSCiu0iJEK3P37m 2JtqlMDPy/DW5yXGRkFpFY8B4PWSPQEvYJ/c36ysV5dHKiACgFPvxffo/GmCorLj5pIufD zgCuPu491uZBc3e7Z8kInNoeShjboNKjBLqXbyYfw7yzxGcDZmoKuFN17X5OIFlESWjkFC UozZW7v75/WFBUbaYxve0FxPIyRK2gRHQZ3wtwm+3MpZTsTWHC9Wz4O2T25tog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674550445; 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=xEryyTgxoWLLBBMjQ7mbC9gwbvQWFnGT3wdyo3oo40w=; b=GIEnYyBnhJPeLY1jb+QYG/Lw+iMWzdNlZmNsKXlXZhkWR6U5e4PbsMbyB/lsDwEbvcs9l5 pJ969x/pXYEZ08ra38fOhTxTBSXvSn0AVMR8T6Oc2yRINyjs4+oBV82IlOA3I2S6aJ31Vw Kjt7ZUZxDZG6CN0fJV+L79dcVqdPR5ZFrTrxmegS+aVjtvncYxOGz09QvY56/aXF3MaYRX kzR/S+mwaSd+d1gJ+eR9E5EwWhjysGHikCmbUQ/UIBdMGUTsAqokfLuv4vAX0GA2FF9fkB o/IT8JKGGbBJmX7STeRj2tBw4LEG1vmk6z2bqetOajK7TZKQ5ipHbwh3+bUAdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674550445; a=rsa-sha256; cv=none; b=AzrCfLqvCnU3vEw86WGZGvlSAC9AuZRCywzwKrCMbZkbiVVjgc6MbNBIfFIlYMoYIZyH5l RkTEX5VsrrMIS3aAbRGqy0Cabp5JmnLk/szVpi15KWIT5NLCmbLePJq7+6XpBSpDH7TmH5 VY5jqoLugwZL76Ly7FDwvkBFEw2qVBxHfKvOtxlZ5HoWYGtPzMd3HufuztgftOeIqAoIw+ wdK57BbIWKzmxI+jTW4XSw0ZHd3BNSMktJBY6gIu8R6zN01S3gS/5BQVEToMImGM+kcBie xt7oALwy7WG+qX2srxmzl40YqdU67PjREZarrInJzorDOWb9e7S26UyWKMD/zg== 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 4P1LP932Jyz13MC; Tue, 24 Jan 2023 08:54:05 +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 30O8s5cZ036027; Tue, 24 Jan 2023 08:54:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O8s50P036026; Tue, 24 Jan 2023 08:54:05 GMT (envelope-from git) Date: Tue, 24 Jan 2023 08:54:05 GMT Message-Id: <202301240854.30O8s50P036026@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: cec94450c299 - stable/13 - linuxkpi: Add 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: cec94450c2996dea8f6eda50f12056d264c64c1c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=cec94450c2996dea8f6eda50f12056d264c64c1c commit cec94450c2996dea8f6eda50f12056d264c64c1c Author: Jean-Sébastien Pédron AuthorDate: 2022-11-11 19:56:42 +0000 Commit: Emmanuel Vadot CommitDate: 2023-01-24 09:08:00 +0000 linuxkpi: Add It just provides a `PageHighMem()` macro stub. Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D36961 (cherry picked from commit 708a570255a491b5979d1b12f5b77ad4bc8ac8f0) --- .../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_ */