From nobody Wed Sep 7 15:10:28 2022 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 4MN5Kd0r6Mz4bPRn; Wed, 7 Sep 2022 15:10:29 +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 4MN5Kd010Fz3ZVy; Wed, 7 Sep 2022 15:10:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563429; 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=2CNQf1hd8/pLeHNCVeWzkjYk1jaeNa/ltWWbjstnsYY=; b=j6UrdemOC9mJPWljbseHg/E9CWjMqIBZKWxriMiF2G/7Kgit8AvK5sRw92k3/DMQzaMYnl iL0iNLmxFbbBO9RmjGZJL+3aaSk2Y5NY6WBi9pmvOEet0L7f9d4Edzi4htXHIO8j7kFNzj 6FXCq4oQvCQs6N6I3EWsgXL6KbNQ7T18uDieN2ei4Lx4M8xdBuikdb/cvXEKZfCMwGHSZm Mu2talpqfDYb1QdLeT5ZwQgdR4BxU5dlwH5mAwIs2Tb64S16fiF+1bpZORGg4dBf2qM0C7 EE5T1yA15iWNW+Ghe+pxuB6TTjQ7TB8EicXTVGal8YbXIlo+9wcAmtPwKy1RyQ== 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 4MN5Kc62HnzYsy; Wed, 7 Sep 2022 15:10:28 +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 287FASdR026314; Wed, 7 Sep 2022 15:10:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287FAS0r026313; Wed, 7 Sep 2022 15:10:28 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:10:28 GMT Message-Id: <202209071510.287FAS0r026313@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: 68987d8ff6c2 - stable/13 - linuxkpi: Add linux/stackdepot.h 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: 68987d8ff6c281f4ea87fb8a5df906b5bc56fff6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563429; 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=2CNQf1hd8/pLeHNCVeWzkjYk1jaeNa/ltWWbjstnsYY=; b=gNQa1cUs0/at2kpK20s9bkW6NnpRD6uFTtQLxW28LKiiXaElPcP2lR2ojcYCcDOLdF5uw6 oZ+UpT0EZVMJV2zufvcXqWvHqO7Ie8AiR2WSRY/PQhmdO/yefzl02f29KQrGbQOIAy+t7l Xa0Uz7L1o1vTUrUlbIS0IStksIpeCGUAmVc+ZJn0C2F9sEyUW3NEmGVGfw2+2GANdMiojQ TjzrtyD5Iy+QYej5Ygtfp4ag5Cp54bA1UKEzYHNFwkwH9dDw9Cl6teH5u0RMp16QQCH94o aRTihADbTOw7O9FG6QCHIESyn/UZYavtS/g0kbC2+Zk9thvmbBJTopUF4rEwaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563429; a=rsa-sha256; cv=none; b=CEtFG5UEzfSfa7LsPf1dJ1rRNwOnfiDXX/tGs2GcfHmYFoX8dZzugDWy8f/jHOc8GpmXZs waBTRxNHkjy1llaxt3NJHC1VEEBcNymToFtoJJoz7V7o+nroKoJqTucqrhLp/uFSXcOyGI kR3OUZhtU5iYFcASZoQ5fTkzBoYbJmKoUGTxfmeqmRrCijJmwH1rI3kXIIR8nLrdoW78X6 B71Rh4+6HRD2ogNPHYNBnxZ3qqJ4rpUvZdGnbR2Y1Z84rD+jFBxiGIAJozw1lck0Txd9lX CAuf1xMo85q4dkWVpPvlrhwsLlFEqKRxRVt+7e097UkvEljbsu2+9576Pm5g1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=68987d8ff6c281f4ea87fb8a5df906b5bc56fff6 commit 68987d8ff6c281f4ea87fb8a5df906b5bc56fff6 Author: Emmanuel Vadot AuthorDate: 2022-08-09 09:46:01 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-07 15:09:05 +0000 linuxkpi: Add linux/stackdepot.h With a typedef needed by drm-kmod. Reviewed by: bz Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36105 (cherry picked from commit b1c82bd4026122e2b3dc4d18005069873da6b246) --- .../linuxkpi/common/include/linux/stackdepot.h | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/stackdepot.h b/sys/compat/linuxkpi/common/include/linux/stackdepot.h new file mode 100644 index 000000000000..df223d46be6e --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/stackdepot.h @@ -0,0 +1,32 @@ +/*- + * Copyright (c) 2022 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_STACKDEPOT_H_ +#define _LINUXKPI_LINUX_STACKDEPOT_H_ + +typedef bool depot_stack_handle_t; + +#endif /* _LINUXKPI_LINUX_STACKDEPOT_H_ */