From nobody Mon Aug 08 14:04:15 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 4M1dH35FLSz4Y4WJ; Mon, 8 Aug 2022 14:04:15 +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 4M1dH34jYpz3txc; Mon, 8 Aug 2022 14:04:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967455; 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=VUtZNkmb929h6Rc+CbTuzZGB+Y6z5cXkqmgDViaJQ9w=; b=vmxbUu8Nd8hGF+7+FavRV6TDlnT5yH71gj4Xqbl1gxlOtn0IxYDBj8AbHlhAP/ARP+bWR1 aWN42KQX7Hv8BaRSS3GkDqy1A7B1U1e5LB2E1hgQKMwso44CX/FZeMgEqkWPjEqMsbek89 ysDKd/Oi/Zlymvns3wjVjK7M++93NZb34WfU6mv0w27D7fQCcj1fz8mOiuIAwEgtEPqqNO 1Z3pNKehga8j7OM9ZbeCbnte+jzlre+cn1CU0SoKfRaaBzDWzs+t7Ll0mpPrsyxn0OBmcq wRIMTnxqQXDrDzdIgTJUUFOHUElz3PvuxL6dk5JlyniOSwmA4deeeLmm1neKVQ== 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 4M1dH33pX9ztvY; Mon, 8 Aug 2022 14:04:15 +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 278E4FsY088761; Mon, 8 Aug 2022 14:04:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 278E4Fpv088760; Mon, 8 Aug 2022 14:04:15 GMT (envelope-from git) Date: Mon, 8 Aug 2022 14:04:15 GMT Message-Id: <202208081404.278E4Fpv088760@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: aec6a64c68b9 - main - linuxkpi: Add linux/nospec.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: aec6a64c68b9ebadeacfba3dae2348b6b6aa90e4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967455; 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=VUtZNkmb929h6Rc+CbTuzZGB+Y6z5cXkqmgDViaJQ9w=; b=XsjdrgRuFz0kvVJTLa1o3Enh7O5E8pR4NQCgAvBJe17uy0wDAO7Kz1eB35AqQSLuwPnPGl DTwaBu2EAycmAqdVy6GdY1bLINaI47AC4ymD0MWJpL7UJLxqZRtekQoChiHaD7Fj8w3UIb FgIhGQqYN3s+gZ2Y8H5txiNLxE8MPaOaLlu40I3P0bk/wYHh+6+bvC8PIzR59k4P2FKXZa RKsOE09E6oyk3TLp7Wq9naDhknpDGo6l2l2igpV1UFb0CsiX2WjDZG682CsR2vV2xJX6SQ n1wrjwaIOvBr8uwnl1EnBRaInDe9uM9E4M64HiUmdLHvVCM4D6Ff5Rq4WtNaDw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659967455; a=rsa-sha256; cv=none; b=uQQc8m8W0t+dLCjQ+StG4BDO7RmFTQtoq9LAuNuN6VGdqHE1YiqpOJ/d+lUO8fn60F6pH7 2+AzOVbMjN3gt7PFbmR/o6sze50rw78YXSgKP7aTqvtRQoDpMgvryw5f+mPvHboL+ZrGIh mP06JArcKpZAcxxMKTtDjlW5IUVhlemMSr6a1ZG4z6LpHhWKAz/xkBS8cKQcte+mD46z5d xFoINUB3AaQjueg5RragSWaq27F2/8GZsnaOikasoFpm4ZwwIq6kl+AowOdrGQDoZ5t7i/ Sn9XTPvmNe5ePZTP7TdVdFmxiEL3pqUWqNRgRwxrwejmoqh7z02gVZcgdh4wCw== 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=aec6a64c68b9ebadeacfba3dae2348b6b6aa90e4 commit aec6a64c68b9ebadeacfba3dae2348b6b6aa90e4 Author: Emmanuel Vadot AuthorDate: 2022-07-26 08:13:49 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-08 13:22:35 +0000 linuxkpi: Add linux/nospec.h Needed by drm-kmod. Reviewed by: hselasky Obtained from: OpenBSD Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D35940 --- sys/compat/linuxkpi/common/include/linux/nospec.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/nospec.h b/sys/compat/linuxkpi/common/include/linux/nospec.h new file mode 100644 index 000000000000..e8458ae8b371 --- /dev/null +++ b/sys/compat/linuxkpi/common/include/linux/nospec.h @@ -0,0 +1,8 @@ +/* Public domain. */ + +#ifndef _LINUXKPI_LINUX_NOSPEC_H_ +#define _LINUXKPI_LINUX_NOSPEC_H_ + +#define array_index_nospec(a, b) (a) + +#endif /* _LINUXKPILINUX_NOSPEC_H_ */