From: Kees Cook Subject: [PATCH v2 2/2] locking/refcounts, x86/asm: Enable CONFIG_ARCH_HAS_REFCOUNT Date: Sat, 2 Sep 2017 13:09:46 -0700 Message-ID: <1504382986-49301-3-git-send-email-keescook@chromium.org> References: <1504382986-49301-1-git-send-email-keescook@chromium.org> Return-path: In-Reply-To: <1504382986-49301-1-git-send-email-keescook@chromium.org> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar Cc: Kees Cook , Mike Galbraith , "x86@kernel.org" , linux-arch , LKML , "Reshetova, Elena" , Peter Zijlstra , Ard Biesheuvel List-Id: linux-arch.vger.kernel.org With the section inlining bug fixed for the x86 refcount protection, we can turn the config back on. Cc: Mike Galbraith Signed-off-by: Kees Cook --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index eaa8ff41f424..c6acdcdb3fc6 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -56,7 +56,7 @@ config X86 select ARCH_HAS_MMIO_FLUSH select ARCH_HAS_PMEM_API if X86_64 # Causing hangs/crashes, see the commit that added this change for details. - select ARCH_HAS_REFCOUNT if BROKEN + select ARCH_HAS_REFCOUNT select ARCH_HAS_UACCESS_FLUSHCACHE if X86_64 select ARCH_HAS_SET_MEMORY select ARCH_HAS_SG_CHAIN -- 2.7.4