From nobody Wed Jun 29 07:55:51 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 38CA78A1154; Wed, 29 Jun 2022 07:55:52 +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 4LXv0S0TY7z4b1K; Wed, 29 Jun 2022 07:55:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656489352; 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=jpmJrlPshz2EUigKxcPO9mLFLKCuedmXGueI5NKdD0k=; b=Jyb78M6kbWNoPx3aidl06BpNEcFoMKJvSKLSqbcL0/XdAQeFakBRh1UeHGVo60aPmvx93C NeCeVN6rlFCGD4xNlpMbVRDw9PRRG7Hqo2UxoUwJEHVSoIZnySiibCtK1t6xkcOrJbzlSx 482EtRevcR/VeV0+mrDqoqOxPBgg1j2GXCUV4dvWmirxZ3TCFgncDdVaE/9OEONu3bUu8h DCL8FbYbo/eIJxpkO+Wzz4MTHkr2itfdi8wXt6DzxOmLFL58HxMtYFfGbJCQt03BxzD2ly U7eo6MB1T8Sq7kfgTvhO23WXvHyXuQ8gp6qKp91q3vpbr77aabW+K7R1MgY7PA== 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 D50115B32; Wed, 29 Jun 2022 07:55:51 +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 25T7tp59076294; Wed, 29 Jun 2022 07:55:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25T7tpMr076293; Wed, 29 Jun 2022 07:55:51 GMT (envelope-from git) Date: Wed, 29 Jun 2022 07:55:51 GMT Message-Id: <202206290755.25T7tpMr076293@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: 088b746cbda6 - main - linuxkpi: Add kfifo.h 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 088b746cbda664602f9cee0d1415ae8d98389f38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656489352; 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=jpmJrlPshz2EUigKxcPO9mLFLKCuedmXGueI5NKdD0k=; b=o5DEeFbcAjyguuECmGLM/tPBmScASTtEPOCL7hrZEVlwP44rhK7jTLYQ1W+LMUx8LKvt5H +aCWO6wQgwAoEyF5kVGMA0jLvTnnadxP3NV7MO3v3BnCH6x3A0Nm7ZbOS0JDg8zndlyLp2 GkP9vsNN/vbT9ym+vGWusKLGKpw74fykU0ZDSFm0WFv+56b7FN6yvvU6W0EAJBJk9QoQ+P K09v9/nuPNzef2LBEXEuvTDDudja1VhQvYqAuNnE7iA9FHYpb7shSLsoRTUsFIucrFtbzh czngF94r4B/jVTa/Vs5BpSxN9sPcufqz+2Ar/oeOL75JXJ2Lyii8JuraVEpPPA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656489352; a=rsa-sha256; cv=none; b=AijbVldQaNbgkfLXh7kr1GBJ+wjJOkgnaaTXqQtBpfEptW0kEEcf3bKd/1TOHXb4BNncCA ISXQu2jvUNlKrNub76tWXe/6Ww/C5+lCwfNM5zbsz0JeMBkYhIyvLpwsYDYob0vtaM0Zb+ OBtBx0zsWXkA5zP4kiiOuyjUKE/Un9enG2GXPAE+u6+OSN7IjeJ0m+UEjmldYOrEy1dgHs eLUqnQel0bzUnOsxzyLOaL3iHsxQkUpPAc2yBXPY+wCCvIL6U1RRrMeI7xyaGQ1iYQhLkp VDhLjSL1DiZTPYHyw2OfJ0PnCt9rz2oiH5+r+iLdTre3rIJI0MCwUyjzJdt0gw== 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=088b746cbda664602f9cee0d1415ae8d98389f38 commit 088b746cbda664602f9cee0d1415ae8d98389f38 Author: Emmanuel Vadot AuthorDate: 2022-06-23 07:50:29 +0000 Commit: Emmanuel Vadot CommitDate: 2022-06-29 07:54:53 +0000 linuxkpi: Add kfifo.h Provide macros needed for drm-kmod. Reviewed by: bz MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D35563 --- sys/compat/linuxkpi/common/include/linux/kfifo.h | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/kfifo.h b/sys/compat/linuxkpi/common/include/linux/kfifo.h new file mode 100644 index 000000000000..6ba1528d965c --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/kfifo.h @@ -0,0 +1,33 @@ +/*- + * 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_KFIFO_H_ +#define _LINUXKPI_LINUX_KFIFO_H_ + +#define INIT_KFIFO(x) 0 +#define DECLARE_KFIFO(x, y, z) + +#endif /* _LINUXKPI_LINUX_KFIFO_H_*/