From nobody Mon Oct 17 20:41:40 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 4MrpnK18f0z4fQnN; Mon, 17 Oct 2022 20:41:41 +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 4MrpnJ5v9dz46CM; Mon, 17 Oct 2022 20:41:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666039300; 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=jH9xG71aznLwJEDa8XJYvEWObSrAaNWM1608ZY4jqoA=; b=VGJYfdv9JKnJsyJ/RWTo07cp9AMeBVOnx1ack4prvQ/0b1XqKLawGdCa91ZX+2rn7Fd6TB 4Jh62feuaOW903ocQ0vJIAzbBSM/bdGGN1of7Up1scfGYqvY+NK0y1OzOnJjxOT+7RnMwp s4RSRQKzVJnYFMw/nfBondaGRA0fOVaihc7V9RaGKj7N9AMQsVHUhwktVWbERLHhKhVFzO +fpBF3jpjGphBAIP8wEGCQ5gA+fyaEjZ4yUZ2gMVBMbSNNOGpxgh8JYZ7MyvtTzzsnR/Qk u2h/Vg0bWzZK28SFUDgmLfY3NaDhUped4ZA6zNpwtHJwtNk8ZdcVqVujmsxa5w== 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 4MrpnJ51Q5zxGV; Mon, 17 Oct 2022 20:41:40 +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 29HKfe8k096580; Mon, 17 Oct 2022 20:41:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29HKfeAG096579; Mon, 17 Oct 2022 20:41:40 GMT (envelope-from git) Date: Mon, 17 Oct 2022 20:41:40 GMT Message-Id: <202210172041.29HKfeAG096579@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 37930dd347f4 - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 37930dd347f4d0882a7db8dc5413c2111fbac7ea Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666039300; 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=jH9xG71aznLwJEDa8XJYvEWObSrAaNWM1608ZY4jqoA=; b=DVLzlx57+HiB3XY9xSnW9BZl+3BJs0jlvFkf+6LYDibgSAr9xAjctKK6OtmR2cgZXqMh7o lE4K7MHLr5Oh3CL4QvgYwx9xQJ07pCB2MfL8urDcGea6Qs2yaS2CppdxPm2l994BdgbHYH Da9rmO7xK6nUN5DFvPPAo5Ey2a1mtYD2euuU1JcBuBEc4eObKExvlm5Tm+z8dWKsLpPkiT 66cEc6Aszr1enU5/vYnNMzRFiS3gFc/6hnKPsBj/tUXH31KafUsxHg3Xi3G3/e/Tdf44e2 xvbBY0icOV46QinMXAqkoorFgzAXfDqRvxlndIKSrQ7zocGxtsbzcw0IWQtcFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666039300; a=rsa-sha256; cv=none; b=vrMiUwx7/1XRzNWz7Z3Pw8huHsfiut8hOoxeVPdBLEP75mYtnD+9FDpaQ1TJzxAIVMb8Jj 3rDf5Bvw2x+tnrQanDSJ5T8hZlV8D4DvYgwQm++EuAOZTiyC7fayq0x0aZwieEMqdHH1n1 zRsgWKvD/eSkqKiRx0LCV6CnSYU45pyDnzAq5FJ1ajdrp598BJaIKKwJVFkQ1M4j6jOFxG 7gWAcvhXhbInnIjrtWitd+n81vhQ2F9i8twYdoa2RYuGRNsDM4o8WSgZkp+JyVNkptkcMf TEwqUJ66pWWYSio9X84CWItdKIu7QB1ivZHIBtTnhc5OBPFV24wWMeecHyAnQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=37930dd347f4d0882a7db8dc5413c2111fbac7ea commit 37930dd347f4d0882a7db8dc5413c2111fbac7ea Author: Bjoern A. Zeeb AuthorDate: 2022-09-21 19:46:17 +0000 Commit: Bjoern A. Zeeb CommitDate: 2022-10-17 20:37:04 +0000 LinuxKPI: cache.h add L1_CACHE_ALIGN() Sponsored by: The FreeBSD Foundation Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D36655 (cherry picked from commit f7c0c1590e3e313d7f60da275b1d74dd82b56b04) --- 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