Backports Archive on
 help / color / Atom feed
From: Hauke Mehrtens <>
Cc: Hauke Mehrtens <>
Subject: [PATCH 2/4] backports: Add smp_acquire__after_ctrl_dep()
Date: Tue, 26 Mar 2019 16:11:36 +0100
Message-ID: <> (raw)
In-Reply-To: <>

smp_acquire__after_ctrl_dep() was introduced in kernel 4.8 in upstream
Linux commit 33ac279677d ("locking/barriers: Introduce
smp_acquire__after_ctrl_dep()") and is used by backports lib-refcount.c
implementation now.

This just adds the default implementation to backports.

Signed-off-by: Hauke Mehrtens <>
 backport/backport-include/asm/barrier.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/backport-include/asm/barrier.h b/backport/backport-include/asm/barrier.h
index 9e1e1f11..bca05588 100644
--- a/backport/backport-include/asm/barrier.h
+++ b/backport/backport-include/asm/barrier.h
@@ -19,4 +19,8 @@
 #define smp_mb__after_atomic smp_mb__after_clear_bit
+#ifndef smp_acquire__after_ctrl_dep
+#define smp_acquire__after_ctrl_dep()		smp_rmb()
 #endif /* __BACKPORT_ASM_BARRIER_H */

To unsubscribe from this list: send the line "unsubscribe backports" in

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-26 15:11 [PATCH 1/4] backports: Add rhashtable_lookup_get_insert_fast() Hauke Mehrtens
2019-03-26 15:11 ` Hauke Mehrtens [this message]
2019-03-26 15:11 ` [PATCH 3/4] backports: Add missing include for brcmfmac Hauke Mehrtens
2019-03-26 15:11 ` [PATCH 4/4] backports: Build CONFIG_MT7603E only for kernel >= 4.2 Hauke Mehrtens

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Backports Archive on

Archives are clonable:
	git clone --mirror backports/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 backports backports/ \
	public-inbox-index backports

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox