Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3081449ybl; Sun, 8 Dec 2019 06:59:30 -0800 (PST) X-Google-Smtp-Source: APXvYqyJcdGGUBxAOEx3g+6tcDKT3hS1L9fWJT63HBob7YgY7hJh+N5wUe8kzp8/o0sHjWMW9bZ4 X-Received: by 2002:aca:cdd5:: with SMTP id d204mr20798843oig.134.1575817169908; Sun, 08 Dec 2019 06:59:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575817169; cv=none; d=google.com; s=arc-20160816; b=GfVvyUP8SJ7J1hrwihVU6dGFxc1GV5s3c+nv8mOiv2POCXczazqjWNlfpTmcoo3WY9 N5BNeuyna+xrsyDT7w7u/ELVEMt0b884Qoxfz8nrWJRpEQVywz4jdTvcynEboRzCZrhH FpgTvnfQ6x4yBUJVR+Yt0fVk2FE0n6r/te+UhGJAD3tOouyXGfIqqxL5enLloqIdKnJX AHybuncayANbaw2NJ/l5Hv8bxfnATjC6G030IpNXN/sIn/IapszgOe5hW17EfX97/GV8 CHMvfg81CMNGeOJusEr+mEPhN0e/hJE1Ww0sCINmSSlcu7RxVTMiIjnjRS9xLGeo2IE/ jOkg== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=p+W+4Ka6eGKqSbyqyQszV9JbVoIUnVn55TSYB6yqW9s=; b=Wv29WutfD/Z2TJZmMZO8xIR6Z3YZ32S7o87iGsVYn2uo3xp68SgXq840FHYBCJJkSR Wlyu3a9w5kfVvH8339x8/dfm0wM//DXV2o8ENuE483JVZrzbUBz9/p0DT41cqDoOIUPW YXfS9kwNS4j2jDMAD/DVVBX6ng39cJPSwcg+Ky2NBYWw/Eri41+YhTnb/mPmgRBF87ND ddJQXCAetnd0HEKlkQ+YolBnhhQqIfm+oGLDdo3ZaMZdBQBzBUvvhK/osSwGcvLRBgk3 bqKrxVVJvxix+V/qhFvr3GMv4gsRiPmT4AXT/U0Etr384dEYyj7GSwwMMZziPMnIQCT8 Bn/Q== 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 o2si1863354oig.41.2019.12.08.06.59.18; Sun, 08 Dec 2019 06:59:29 -0800 (PST) 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 S1726453AbfLHO6r (ORCPT + 99 others); Sun, 8 Dec 2019 09:58:47 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:36781 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbfLHO6p (ORCPT ); Sun, 8 Dec 2019 09:58:45 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1idy16-0000WP-7w; Sun, 08 Dec 2019 15:58:36 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id C319D1C2885; Sun, 8 Dec 2019 15:58:32 +0100 (CET) Date: Sun, 08 Dec 2019 14:58:32 -0000 From: "tip-bot2 for Thomas Gleixner" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] sched/rt, parisc: Use CONFIG_PREEMPTION Cc: Thomas Gleixner , Sebastian Andrzej Siewior , Helge Deller , "James E.J. Bottomley" , Linus Torvalds , Peter Zijlstra , linux-parisc@vger.kernel.org, Ingo Molnar , x86 , LKML In-Reply-To: <20191015191821.11479-16-bigeasy@linutronix.de> References: <20191015191821.11479-16-bigeasy@linutronix.de> MIME-Version: 1.0 Message-ID: <157581711266.21853.13003813137013747981.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the sched/urgent branch of tip: Commit-ID: 09613e8320cda150717126ba88c0ddc38bfc0c68 Gitweb: https://git.kernel.org/tip/09613e8320cda150717126ba88c0ddc38bfc0c68 Author: Thomas Gleixner AuthorDate: Tue, 15 Oct 2019 21:18:02 +02:00 Committer: Ingo Molnar CommitterDate: Sun, 08 Dec 2019 14:37:34 +01:00 sched/rt, parisc: Use CONFIG_PREEMPTION 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 entry code over to use CONFIG_PREEMPTION. [bigeasy: +Kconfig] Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Cc: Helge Deller Cc: James E.J. Bottomley Cc: Linus Torvalds Cc: Peter Zijlstra Cc: linux-parisc@vger.kernel.org Link: https://lore.kernel.org/r/20191015191821.11479-16-bigeasy@linutronix.de Signed-off-by: Ingo Molnar --- arch/parisc/Kconfig | 2 +- arch/parisc/kernel/entry.S | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index b16237c..593e401 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -81,7 +81,7 @@ config STACK_GROWSUP config GENERIC_LOCKBREAK bool default y - depends on SMP && PREEMPT + depends on SMP && PREEMPTION config ARCH_HAS_ILOG2_U32 bool diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S index b96d744..9a03e29 100644 --- a/arch/parisc/kernel/entry.S +++ b/arch/parisc/kernel/entry.S @@ -940,14 +940,14 @@ intr_restore: rfi nop -#ifndef CONFIG_PREEMPT +#ifndef CONFIG_PREEMPTION # define intr_do_preempt intr_restore -#endif /* !CONFIG_PREEMPT */ +#endif /* !CONFIG_PREEMPTION */ .import schedule,code intr_do_resched: /* Only call schedule on return to userspace. If we're returning - * to kernel space, we may schedule if CONFIG_PREEMPT, otherwise + * to kernel space, we may schedule if CONFIG_PREEMPTION, otherwise * we jump back to intr_restore. */ LDREG PT_IASQ0(%r16), %r20 @@ -979,7 +979,7 @@ intr_do_resched: * and preempt_count is 0. otherwise, we continue on * our merry way back to the current running task. */ -#ifdef CONFIG_PREEMPT +#ifdef CONFIG_PREEMPTION .import preempt_schedule_irq,code intr_do_preempt: rsm PSW_SM_I, %r0 /* disable interrupts */ @@ -999,7 +999,7 @@ intr_do_preempt: nop b,n intr_restore /* ssm PSW_SM_I done by intr_restore */ -#endif /* CONFIG_PREEMPT */ +#endif /* CONFIG_PREEMPTION */ /* * External interrupts.