Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp6615080ybp; Tue, 15 Oct 2019 18:36:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFNYSyH4FRnGJG33Bodgc+Zr94P3iZzmvqhF7TjA/sUGIeHmo9s8QTS3d0iM7GNwns16c/ X-Received: by 2002:a05:6402:1612:: with SMTP id f18mr37001021edv.66.1571189803739; Tue, 15 Oct 2019 18:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571189803; cv=none; d=google.com; s=arc-20160816; b=cK7G/mgDJlAE//0aq/6+r23FaQI7C3/5mSN8qFXOvHgTOGeAkwPC9fiWAAyYCkFgJK l/QHyUofgZdItsZRPhffL8ilbrX2PYHYlWZbPGiU2Cw8E7zhvsQeqWJSE9fXiV/NoHAd 6fY014ABOTr3uDFTeHeYoKcWK5v4d0YRhcstwz3mIuH57lKuws5+35nXAkwHMjWYFc6V vuNj9+OswjlE7c4GbU/8FRVhnPS0lwqOa83cuKuytjocCWNW0TFPdkPoSj0k0LGTSNtJ 5XoW8+VGnm7447R89f5V0+yElLwsmuP/oi2JX07mbJ4rCBRXoaB0++CBUxz4sVk8OEET pJYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=XpXTjiyfW/2ouFO5f1Ruza8Mr1C/A4S3FNNHa+BjC8A=; b=p7DiGJKlVAkutaPM/JMpMjzZFSlC3f+S22Oo4Mxm7KobrLNS2a5T8rXzObTAa7DzZH V+uv+7mp/bRSjmHv+4Quve6UTJxTn7ySBV15OpfpSpIapRFMbMBcFbzevUu4WvkIDMzE bKEqix/eCNQwtfWD8++pd99edgzmskBNBWzHjcFcElpYdiuNFxutO3IsgxVlUDxH20eT opbmMKFv+pXJuE0xAtP4adip4vRzdel57k6DlxZyx49diqQQZBZn5F6Jj1Z2x4ykGneE E3A1Z1cRtg2TLaRZ/OljfRhtzlMOjRN8+smOoU3ZZU5LDnvvF+5cTJ9/ZvodTH3rd9g1 KRPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si17048897edy.188.2019.10.15.18.36.20; Tue, 15 Oct 2019 18:36:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389473AbfJOTSu (ORCPT + 99 others); Tue, 15 Oct 2019 15:18:50 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:45684 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389425AbfJOTSr (ORCPT ); Tue, 15 Oct 2019 15:18:47 -0400 Received: from localhost ([127.0.0.1] helo=localhost.localdomain) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1iKSLE-00067i-DS; Tue, 15 Oct 2019 21:18:44 +0200 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: tglx@linutronix.de, Sebastian Andrzej Siewior , "Peter Zijlstra (Intel)" , Ingo Molnar , Will Deacon Subject: [PATCH 31/34] locking: Use CONFIG_PREEMPTION Date: Tue, 15 Oct 2019 21:18:18 +0200 Message-Id: <20191015191821.11479-32-bigeasy@linutronix.de> In-Reply-To: <20191015191821.11479-1-bigeasy@linutronix.de> References: <20191015191821.11479-1-bigeasy@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same functionality which today depends on CONFIG_PREEMPT. Switch the Kconfig dependency to use CONFIG_PREEMPTION. Cc: "Peter Zijlstra (Intel)" Cc: Ingo Molnar Cc: Will Deacon Signed-off-by: Sebastian Andrzej Siewior --- kernel/Kconfig.locks | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/Kconfig.locks b/kernel/Kconfig.locks index e0852dc333acd..3de8fd11873b4 100644 --- a/kernel/Kconfig.locks +++ b/kernel/Kconfig.locks @@ -101,7 +101,7 @@ config UNINLINE_SPIN_UNLOCK # unlock and unlock_irq functions are inlined when: # - DEBUG_SPINLOCK=3Dn and ARCH_INLINE_*LOCK=3Dy # or -# - DEBUG_SPINLOCK=3Dn and PREEMPT=3Dn +# - DEBUG_SPINLOCK=3Dn and PREEMPTION=3Dn # # unlock_bh and unlock_irqrestore functions are inlined when: # - DEBUG_SPINLOCK=3Dn and ARCH_INLINE_*LOCK=3Dy @@ -139,7 +139,7 @@ config INLINE_SPIN_UNLOCK_BH =20 config INLINE_SPIN_UNLOCK_IRQ def_bool y - depends on !PREEMPT || ARCH_INLINE_SPIN_UNLOCK_IRQ + depends on !PREEMPTION || ARCH_INLINE_SPIN_UNLOCK_IRQ =20 config INLINE_SPIN_UNLOCK_IRQRESTORE def_bool y @@ -168,7 +168,7 @@ config INLINE_READ_LOCK_IRQSAVE =20 config INLINE_READ_UNLOCK def_bool y - depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK + depends on !PREEMPTION || ARCH_INLINE_READ_UNLOCK =20 config INLINE_READ_UNLOCK_BH def_bool y @@ -176,7 +176,7 @@ config INLINE_READ_UNLOCK_BH =20 config INLINE_READ_UNLOCK_IRQ def_bool y - depends on !PREEMPT || ARCH_INLINE_READ_UNLOCK_IRQ + depends on !PREEMPTION || ARCH_INLINE_READ_UNLOCK_IRQ =20 config INLINE_READ_UNLOCK_IRQRESTORE def_bool y @@ -205,7 +205,7 @@ config INLINE_WRITE_LOCK_IRQSAVE =20 config INLINE_WRITE_UNLOCK def_bool y - depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK + depends on !PREEMPTION || ARCH_INLINE_WRITE_UNLOCK =20 config INLINE_WRITE_UNLOCK_BH def_bool y @@ -213,7 +213,7 @@ config INLINE_WRITE_UNLOCK_BH =20 config INLINE_WRITE_UNLOCK_IRQ def_bool y - depends on !PREEMPT || ARCH_INLINE_WRITE_UNLOCK_IRQ + depends on !PREEMPTION || ARCH_INLINE_WRITE_UNLOCK_IRQ =20 config INLINE_WRITE_UNLOCK_IRQRESTORE def_bool y --=20 2.23.0