From patchwork Fri Sep 8 10:04:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Berg X-Patchwork-Id: 9943573 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 901A3604D4 for ; Fri, 8 Sep 2017 10:04:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8280E28619 for ; Fri, 8 Sep 2017 10:04:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7716C2861C; Fri, 8 Sep 2017 10:04:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F01DE28619 for ; Fri, 8 Sep 2017 10:04:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754298AbdIHKEv (ORCPT ); Fri, 8 Sep 2017 06:04:51 -0400 Received: from s3.sipsolutions.net ([5.9.151.49]:32924 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752843AbdIHKEv (ORCPT ); Fri, 8 Sep 2017 06:04:51 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1dqG9Z-0001N8-SC; Fri, 08 Sep 2017 12:04:49 +0200 From: Johannes Berg To: backports@vger.kernel.org Cc: Hauke Mehrtens , Johannes Berg Subject: [PATCH] add (automatic) refcount backport Date: Fri, 8 Sep 2017 12:04:46 +0200 Message-Id: <20170908100446.18997-1-johannes@sipsolutions.net> X-Mailer: git-send-email 2.14.1 Sender: backports-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: backports@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Johannes Berg Signed-off-by: Johannes Berg --- backport/compat/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) 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