From nobody Wed Sep 07 15:09:52 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 4MN5Jw3dzvz4bPCZ; Wed, 7 Sep 2022 15:09: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 4MN5Jw358tz3X0B; Wed, 7 Sep 2022 15:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563392; 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=dvJial/Xmo5ZUco6fYcK6u8ncme45F2AYL7R91A0Lig=; b=L8MM5M4DWOW8ySTwUs45M3WSk7EpnDBPJotDk78Q1QCK6+c1RnXpmSoQkF7BNKbmm9TfKi JXRwsnhBFDCRWWs3pikUvBpoB+NmdTMKgPatcGjg1j1LNkE91F1tC84WKtatFv7kW4Am7m ZEwYeVtUGJ0g4VR5c+/pkh7QYBQLZdK23uXU/nV73rBVK++xVMf6tszYpnNaewGoTK35FP 3yDx2XAGI1Zpq6HY+QCPiTH5oPTKO2zXVvk0kKacVwY5hOr1jykk1dqipDPjIW6W0Ebyjh Z0/n0VDLceh6k90XIujvGB1C4XIkIMb5rdJ1mVgj7e2bLx2FY2oaoR/Z4xx91g== 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 4MN5Jw2BqdzYxC; Wed, 7 Sep 2022 15:09:52 +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 287F9qUg017133; Wed, 7 Sep 2022 15:09:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 287F9q9g017132; Wed, 7 Sep 2022 15:09:52 GMT (envelope-from git) Date: Wed, 7 Sep 2022 15:09:52 GMT Message-Id: <202209071509.287F9q9g017132@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: 1cfea86b3043 - stable/13 - linuxkpi: Add kmemleak.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: 1cfea86b304341a31a66eefa9afddfde9b911d72 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662563392; 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=dvJial/Xmo5ZUco6fYcK6u8ncme45F2AYL7R91A0Lig=; b=w8kqvb4IiV2VC9Jg6HntkJYR9wZQrVnyX7zfU/SeniVv+zQuhGwIUjXjpm+S2Gf/6r/BTu V6kRUdgS1L0zK0Joeq04kK+1Mficp2LkolPTKu+UM6U0D5l8Eyh19vJC9YfUObjHMQIhFd pK9/BKXbiKAcnBGwUA/M8guE6eduY4/Gf+w5XbJkczoQ0UYngHVOFjJvejY8yJw3j3JOn1 wY/BW9p567HLnoesPFvECxe8qKvVvdXZy/toT8ezb1zD1ZDHpid64d2iBmvByBxCx8P6Rv TLz4H/vGHrL3agct/KTqw5rUL8QaGrTwfd80hVmu+6VsUsg20DOYDtQ6IMNnMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662563392; a=rsa-sha256; cv=none; b=lnf3flGjF3mfnYWEkeua2f8p16ewieehQpYATitHDjsYeRTHL/uVVffmfko/wDz8TWKU+v hXQzWxIItjm3I2irNIn3uU5jgoJOTqt6wAtIecszdJzh/ShFIYesYuk6N1NivKoU7wM4GV 6ECK10M9ltQMsuKEygXaabMhf8KyEfOWtd8+WRZ/iHEtGotr06vEhjfd0g84+qCzxnPBki NjZLsJe/4/jESC2ai9m7iQsaFfIPMa7CFdId04cgHDiBFNY75g+ieAJf4SjUeURjMLrYJn FEvgF3xocxDEk2O8PErm7v752fX2fG/xf+nQgiBGVkad1kSs/euAtOCA5luejQ== 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=1cfea86b304341a31a66eefa9afddfde9b911d72 commit 1cfea86b304341a31a66eefa9afddfde9b911d72 Author: Emmanuel Vadot AuthorDate: 2022-06-23 07:51:34 +0000 Commit: Emmanuel Vadot CommitDate: 2022-09-07 15:09:02 +0000 linuxkpi: Add kmemleak.h Provide macros needed for drm-kmod. Obtain from: OpenBSD (via drm-kmod) MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D35564 (cherry picked from commit 8730ba418e050f622c32766562366729b4d775ad) --- sys/compat/linuxkpi/common/include/linux/kmemleak.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/kmemleak.h b/sys/compat/linuxkpi/common/include/linux/kmemleak.h new file mode 100644 index 000000000000..7007e72718c7 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/kmemleak.h @@ -0,0 +1,8 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_LINUX_KMEMLEAK_H_ +#define _LINUXKPI_LINUX_KMEMLEAK_H_ + +#define kmemleak_update_trace(x) + +#endif /* _LINUXKPI_LINUX_KMEMLEAK_H_ */