From nobody Thu Sep 17 07:44:24 2026 X-Original-To: dev-commits-src-all@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 4hlnp02Sx3z6scsM for ; Thu, 17 Sep 2026 07:44:24 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hlnp01tJlz4vQL for ; Thu, 17 Sep 2026 07:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789631064; 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=yGEgHTYyl2L8UvBPJlBJqBrwMJzJJ5+HAZeApsymEkE=; b=IRhofjjYrqAE8HVcO7YQdpk3VSNwp3ux+pcRcjr2gjFuJVsGoj8A7/Nexi5vxg+anKSGMU HV3Uy8BmIadSLZ4BlfZRv9ytbkA6OJ3dUh7Z0OxAJ4HexAnMevUOEI/YpJlbEUgZiQh6DK yjZhgo/ql4Uqk3jAn2CXUsxWN0n4A9PsTRHFl01S09vsP/Qsqt5LvsjzZnLSCDoVSWvVeE 5mXD9b4qPDdQOvvjOv3ki+A1Z0Ch2wFgbs/61pNBnPP69SYWA1QHEGEjMGfQGkF9h1Ti/c oWqTBU4j1h9F9674jdMTPiYmk4QS+QWfzNOKZaW4OI+45fSXGS5KO7PEdZdlPA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789631064; b=VA0qaca4IqezNgWX7LQuiXfEPltmqp/PxUC2yNlkLhMTEsEDpA29HHLlA0WLcuFyEqGS7y +T1J+kfYZkU2NJO3133Iju9lTXdn9vZaEId8KG9Pv595Xw1/cvTu5WVHvJi4szvAJX+MwE GZ1e7AZ44UHu3Tv/CbzWSsG2DW2hz/pQkpd2DjHC5yS3DFl6R+qPmzEXT5S3z9bgfEoJZu ppunBPOU71ykq/+kfXpalZYbCLVPKZoqva7dAZYtGqKh8xI3ESnmbO0X/mDh7yjeXGqGkX e+bf4KtepS6T8Ldl+FOvZ4fLMaMdehSudPotBvDW1vMFqnBViZCyj1BE3Gn8LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789631064; 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=yGEgHTYyl2L8UvBPJlBJqBrwMJzJJ5+HAZeApsymEkE=; b=DazuNW4bSQi17tBi8nGYLZq4aT8wT60NXqHt/AyLIKzeFdS4PVQooeeOS8wQcGr7TN4Euh TpEWs07n67RS5FqnfxbA/IgfuvRglTUIqTVs69diZtD7h6JSx7sfdB5iYec1xj26dCxlqq jSXzGXPAFb5c5nXlC4fF1uVjvevftjFbC13egry2m9qh6rI26QBnj8mcvIJsNrrxcDYUhM FeCbYWHA7EoeESs+uso4xnvLtUVC3xWSRVCftL2F+D6xEhhZDSd5jsXbH2m8Xl22Pm1A0A aEM6esRKF+rsBoV4TrkCjwTreYymmrsZmSuH3GIiupQMu8t/zoqO3FFhVxlA2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hlnp00wWczMPx for ; Thu, 17 Sep 2026 07:44:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36f45 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 17 Sep 2026 07:44:24 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: 8b05d84be9e2 - main - LinuxKPI: implement __UNIQUE_ID() macro List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b05d84be9e288d201e8631750ae180b07311ba7 Auto-Submitted: auto-generated Date: Thu, 17 Sep 2026 07:44:24 +0000 Message-Id: <6aab9a58.36f45.53fd5614@gitrepo.freebsd.org> The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=8b05d84be9e288d201e8631750ae180b07311ba7 commit 8b05d84be9e288d201e8631750ae180b07311ba7 Author: Vladimir Kondratyev AuthorDate: 2026-09-17 07:42:12 +0000 Commit: Vladimir Kondratyev CommitDate: 2026-09-17 07:42:12 +0000 LinuxKPI: implement __UNIQUE_ID() macro Requred by drm-kmod v6.12.103 Obtained from: OpenBSD Reviewed by: bz, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D59733 --- sys/compat/linuxkpi/common/include/linux/compiler.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/compiler.h b/sys/compat/linuxkpi/common/include/linux/compiler.h index 4fcd1f9f342b..cf9494a45553 100644 --- a/sys/compat/linuxkpi/common/include/linux/compiler.h +++ b/sys/compat/linuxkpi/common/include/linux/compiler.h @@ -97,4 +97,8 @@ #define __struct_size(_s) __builtin_object_size(_s, 0) #endif +#define ____UNIQUE_ID(name, num) __UNIQUE_ID_##name##_##num +#define ___UNIQUE_ID(name, num) ____UNIQUE_ID(name, num) +#define __UNIQUE_ID(name) ___UNIQUE_ID(name, __COUNTER__) + #endif /* _LINUXKPI_LINUX_COMPILER_H_ */