From nobody Thu Sep 22 16:16:32 2022 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 4MYL4x3cgnz4cjNh; Thu, 22 Sep 2022 16:16:33 +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 4MYL4x1GC1z3PPP; Thu, 22 Sep 2022 16:16:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663863393; 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=Uuer2iVc5jWEMzr3yeN1j794rY3eCarvhrn5PUl4X20=; b=xNC0RnCZZ7j08l1A/XDezx4PqhgxZ74NE2+KLZ8v3YF26coORbOzgg/f70YkcSwKkLXZoz UlV88nfNfzkfpEakT9CkbQa6zBDQcawZkzvsJQ/cIgwQzsjjWf4BrTmotId+NstU2vOPYd Xd+5ZvrKeWpmuggFiWP/5MXo/u4WrowTyMkg3Sa6XrHboxfFdEocxjT6SBTlsj1pv5fHMD asYSDeFoMPfEmC+G0a7VBRV9/Kqm3CdksARaqtOBf/1xK18W0jDp+rZJcsY7KOTmdUFrQD j2FcvLo0S2KQni4ONkh0ZveccCQgp/l94j7dX1iQLn3+LDpU0nkSPvePtQSYOw== 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 4MYL4x0KQ3zRwv; Thu, 22 Sep 2022 16:16:33 +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 28MGGWcP050493; Thu, 22 Sep 2022 16:16:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28MGGWrj050492; Thu, 22 Sep 2022 16:16:32 GMT (envelope-from git) Date: Thu, 22 Sep 2022 16:16:32 GMT Message-Id: <202209221616.28MGGWrj050492@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: f7c0c1590e3e - main - LinuxKPI: cache.h add L1_CACHE_ALIGN() 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f7c0c1590e3e313d7f60da275b1d74dd82b56b04 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663863393; 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=Uuer2iVc5jWEMzr3yeN1j794rY3eCarvhrn5PUl4X20=; b=xtqiApfmWHxKNsofsv3GEjfLmgaiJyC/kjD9LkSlFTc9u95S+AauG7RSJ+xj4AeC3sCOLQ gMen+RhBYRHXdtx6l+yutxUEAuK/PE82FsXa9u9XEvJz9Za2OgpHT45s+2x9gkJFsNxnvt VOl9TJGC1JL2Iw3O8nsOnC8s/G/Uso3bUoj0yiqgucFM4DQPOiyVI1M+TL773wMlOUlcy9 sqSD99Fh/u9vdj9PkJu2xNx5IGmf5Cc3LIgiW8Btn802pCHm34oihog7kfS8gGF13wAx+/ OucQtBfH20/OsizaqMq4cxQB1sSA8NBppUdKspmF43urIOttdNZxhp0AMpFDmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663863393; a=rsa-sha256; cv=none; b=I6ohrOTGt2smcF2Iu4sSkULNQnsvhomd0INXeaw+ka5J3qe1SRUlbnjwSdmaaf4xZRN/Ni sp8bcID9csv/mBkJClturMrA1ptJKdJhly0W03fxoPPa+bY+KcvdwgtTQVevzcEJYo9FDk wbZyvGvmxL9szhkvL2itAU4SstR01fkx77tF0PJuoF/8S1QAlTes9punoAcAMEti1olC+S ydKouS+ejKLfjn4+JOAZg6xyxx0Cacs2RrnVJAS8pIjqQZEFkZM4Fcib3vyzwpdF8Fy06V roJ7g7AHfwcFVH9k18GLnitSQvPwqjbaP9xxEsu6bgFGOboniFsZF1FEGaO8Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f7c0c1590e3e313d7f60da275b1d74dd82b56b04 commit f7c0c1590e3e313d7f60da275b1d74dd82b56b04 Author: Bjoern A. Zeeb AuthorDate: 2022-09-21 19:46:17 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-09-22 15:10:04 +0000 LinuxKPI: cache.h add L1_CACHE_ALIGN() Sponsored by: The FreeBSD Foundation MFC after: 7 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D36655 --- sys/compat/linuxkpi/common/include/linux/cache.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/cache.h b/sys/compat/linuxkpi/common/include/linux/cache.h index 6479d5d04d3a..68e8cc90f877 100644 --- a/sys/compat/linuxkpi/common/include/linux/cache.h +++ b/sys/compat/linuxkpi/common/include/linux/cache.h @@ -35,6 +35,7 @@ #define cache_line_size() CACHE_LINE_SIZE #define L1_CACHE_BYTES CACHE_LINE_SIZE +#define L1_CACHE_ALIGN(x) ALIGN(x, CACHE_LINE_SIZE) #define SMP_CACHE_BYTES L1_CACHE_BYTES