summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-09-08 12:04:08 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-09-08 13:25:31 +0200
commit7ad28ae0a6402f21816518ddd87d6240df878e64 (patch)
tree93e0968f2e19be6ba80aedbfabd67f557f97a0c4
parentb15017f8074970476a2d7324b398c8a6f89c2280 (diff)
add (automatic) refcount backport
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--backport/compat/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index f350217f..b1666710 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