Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3082548ybl; Sun, 8 Dec 2019 07:00:48 -0800 (PST) X-Google-Smtp-Source: APXvYqxKPLv4sdMilsLSWbyN4AzfcNaf8EWyIgf3vUjve2+yLvnxD+jWjxRAVHyhiayXCvzdi5OH X-Received: by 2002:a05:6808:30d:: with SMTP id i13mr4911330oie.144.1575817248278; Sun, 08 Dec 2019 07:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575817248; cv=none; d=google.com; s=arc-20160816; b=e7hS31gu0bZ3M/0MgEQeCrbhZk4yAr3W0Rxowvo1laNwDx/rNViLRynV5mDrdZqIgM lpPW7or/DbUZ4pGP3Szk+rk19/dSvTPrPpWm2Dqu9M7xsDnASJa4ja8RQuFCgylbyThN uKfah6jLEZYKiKZ8mD/7WqwiYXmX4iJjD0Dvlr7jfKYsA0Vj2SIQLLxrlaiqVupbkP9V tANZvA43gZVVWhQFj2LxS6KueKLbZbUJaqHrNgxqHHPlbOxQI4B9e6Rvix2GtpP6uazd Xov0Ggvm6CblMsYTEznZAAtMMkDNDb5vl2wcti1JdnvtO+3Ec4u6/ayuJXV2CZ3Kpl5w Uomw== 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=yvOBPJbSCv4juKHh4O42a2GzjPpRHcrynNQ4dBkcI5g=; b=d6GWXr/Hf/gaPTy9bkWkJMHBGal8/vSNeazOs2D/9kInfesQ3HZQCox04SJoNX+VDY OJ0zKnJJvuQNxCBGgAvW4Urvt8+K3h8ZHnYa78Wlp+pe0JA7fUlaI4MxJj6YceCNWSvS 0Dp+PZzZ6MOAVN/2/LDP1uE15+sHSCTeEjKeuodDXbPyEwDjkvo/WWVrJBp9q6V94i2j dqjj9nWWLDV9QkM77Z1cPfCHTQHEnuQpG2tENUFsMrI+d8YnNsaXmvGYU7tdE6F1clQJ zM08VCI3/cyqHDBht+qj6LDoM5vSpDnHqeQhC7bOfFZUp5SnSEIQJ/GJDb6XupBbG/iO ElYQ== 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 z203si3802231oia.124.2019.12.08.07.00.37; Sun, 08 Dec 2019 07:00:48 -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 S1727074AbfLHO7u (ORCPT + 99 others); Sun, 8 Dec 2019 09:59:50 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:36832 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbfLHO6t (ORCPT ); Sun, 8 Dec 2019 09:58:49 -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 1idy19-0000aN-Fq; Sun, 08 Dec 2019 15:58:39 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id 7C5731C2888; Sun, 8 Dec 2019 15:58:34 +0100 (CET) Date: Sun, 08 Dec 2019 14:58:34 -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, h8300: Use CONFIG_PREEMPTION Cc: Thomas Gleixner , Sebastian Andrzej Siewior , Linus Torvalds , Peter Zijlstra , Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp, Ingo Molnar , x86 , LKML In-Reply-To: <20191015191821.11479-8-bigeasy@linutronix.de> References: <20191015191821.11479-8-bigeasy@linutronix.de> MIME-Version: 1.0 Message-ID: <157581711433.21853.1402813487750004125.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: 7462b759b1c2fc3848fe54f71bf553f8f4e6d323 Gitweb: https://git.kernel.org/tip/7462b759b1c2fc3848fe54f71bf553f8f4e6d323 Author: Thomas Gleixner AuthorDate: Tue, 15 Oct 2019 21:17:54 +02:00 Committer: Ingo Molnar CommitterDate: Sun, 08 Dec 2019 14:37:33 +01:00 sched/rt, h8300: 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. Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Yoshinori Sato Cc: uclinux-h8-devel@lists.sourceforge.jp Link: https://lore.kernel.org/r/20191015191821.11479-8-bigeasy@linutronix.de Signed-off-by: Ingo Molnar --- arch/h8300/kernel/entry.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/h8300/kernel/entry.S b/arch/h8300/kernel/entry.S index 4ade5f8..c6e289b 100644 --- a/arch/h8300/kernel/entry.S +++ b/arch/h8300/kernel/entry.S @@ -284,12 +284,12 @@ badsys: mov.l er0,@(LER0:16,sp) bra resume_userspace -#if !defined(CONFIG_PREEMPT) +#if !defined(CONFIG_PREEMPTION) #define resume_kernel restore_all #endif ret_from_exception: -#if defined(CONFIG_PREEMPT) +#if defined(CONFIG_PREEMPTION) orc #0xc0,ccr #endif ret_from_interrupt: @@ -319,7 +319,7 @@ work_resched: restore_all: RESTORE_ALL /* Does RTE */ -#if defined(CONFIG_PREEMPT) +#if defined(CONFIG_PREEMPTION) resume_kernel: mov.l @(TI_PRE_COUNT:16,er4),er0 bne restore_all:8