diff mbox

add (automatic) refcount backport

Message ID 20170908100446.18997-1-johannes@sipsolutions.net (mailing list archive)
State Accepted
Headers show

Commit Message

Johannes Berg Sept. 8, 2017, 10:04 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 backport/compat/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox

Patch

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index f350217f1ab7..b16667109489 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -167,3 +167,10 @@  config BPAUTO_BUILD_FRAME_VECTOR
 	default n if FRAME_VECTOR
 	default y if BPAUTO_FRAME_VECTOR
 	#c-file mm/frame_vector.c
+
+config BPAUTO_REFCOUNT
+	bool
+	default y
+	depends on KERNEL_4_11
+	#h-file linux/refcount.h
+	#c-file lib/refcount.c