Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3082450ybl; Sun, 8 Dec 2019 07:00:42 -0800 (PST) X-Google-Smtp-Source: APXvYqzTPIYjNBQXHepKaUX8b87fqKANdoNQZc5fcZ5R31pJn792uKJ07b6r/4sZYggBHaEgx8Ae X-Received: by 2002:a9d:5d1a:: with SMTP id b26mr18602488oti.139.1575817242657; Sun, 08 Dec 2019 07:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575817242; cv=none; d=google.com; s=arc-20160816; b=kLRSp+QUh1tXFWyrJ7M5BbPQ7+6rvICswirMCoXSFXfFl8W5DJXI9ywSLbsKWXZvyh K35mRZ5/nCJGXlULGvGOgCVi1WV+rMoa20R0pt5D3F/5HYk1KFHmHtRRa9z2iFmUTxxH i1ARTgVpO7I1/+qGXYjfF+tVxTAHMgOsxid2TD5YDLEq7GTPasTRfHMPThJyCbiRJcW3 INxFcesDjhNgm70oeEi+dzOj07x9ciMZlZZh7uSHiKuqN9vhoviAE4J2MKa3dXTX8cF/ cT9exAmWH2HgejPKyuabWYYIbt1Ed2Ld/jOamt92Wg+3zD7dAJCS/md3pAvFqfodmvs+ sYmQ== 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=XW7qFhgpn2HwO+poOnahoOgTXiZtA4hN5pPccFfMjfg=; b=qnNPMkEzp40+VqxWn5fh+PFZ/5qj0YhuJMnss+EGk2LHfHx8Tzzz32vQafGymS4/ST MUkMLUdxcTWxa6KRWaMh2m3whDNRuEtGQUXncDixLSTshyKd8n+MK7nX/QjFSToez0dE s8eJH2MaIFV7C02oANX4ceFApv6TW+sCAm8uN6B+rGvNdVUteDPU10Cw+1STPrSnsj4f ZgDOc7SSMqyy55DgGp3z6s+Pr7kRM2EDQ0cn7uBfZo9DNpBgw/wZ2xVdamjgdlb/VyM5 /Qhad663raz6B43nE3oPv1/D1CZDPTgo/nJoi/TG/tpMlddlt8iRf8gJanoFo3c6XWX2 LLkA== 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 e26si10204306otp.143.2019.12.08.07.00.31; Sun, 08 Dec 2019 07:00:42 -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 S1726707AbfLHO6v (ORCPT + 99 others); Sun, 8 Dec 2019 09:58:51 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:36831 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726675AbfLHO6t (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 1idy1C-0000bz-4d; Sun, 08 Dec 2019 15:58:42 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id EC84E1C2889; 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, c6x: Use CONFIG_PREEMPTION Cc: Thomas Gleixner , Sebastian Andrzej Siewior , Aurelien Jacquiot , Linus Torvalds , Mark Salter , Peter Zijlstra , linux-c6x-dev@linux-c6x.org, Ingo Molnar , x86 , LKML In-Reply-To: <20191015191821.11479-6-bigeasy@linutronix.de> References: <20191015191821.11479-6-bigeasy@linutronix.de> MIME-Version: 1.0 Message-ID: <157581711483.21853.1397806174508339513.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: 51466979c754d11e1e8da0e46a66218ffc7226ee Gitweb: https://git.kernel.org/tip/51466979c754d11e1e8da0e46a66218ffc7226ee Author: Thomas Gleixner AuthorDate: Tue, 15 Oct 2019 21:17:52 +02:00 Committer: Ingo Molnar CommitterDate: Sun, 08 Dec 2019 14:37:32 +01:00 sched/rt, c6x: 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: Aurelien Jacquiot Cc: Linus Torvalds Cc: Mark Salter Cc: Peter Zijlstra Cc: linux-c6x-dev@linux-c6x.org Link: https://lore.kernel.org/r/20191015191821.11479-6-bigeasy@linutronix.de Signed-off-by: Ingo Molnar --- arch/c6x/kernel/entry.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S index 4332a10..fb154d1 100644 --- a/arch/c6x/kernel/entry.S +++ b/arch/c6x/kernel/entry.S @@ -18,7 +18,7 @@ #define DP B14 #define SP B15 -#ifndef CONFIG_PREEMPT +#ifndef CONFIG_PREEMPTION #define resume_kernel restore_all #endif @@ -287,7 +287,7 @@ work_notifysig: ;; is a little bit different ;; ENTRY(ret_from_exception) -#ifdef CONFIG_PREEMPT +#ifdef CONFIG_PREEMPTION MASK_INT B2 #endif @@ -557,7 +557,7 @@ ENDPROC(_nmi_handler) ;; ;; Jump to schedule() then return to ret_from_isr ;; -#ifdef CONFIG_PREEMPT +#ifdef CONFIG_PREEMPTION resume_kernel: GET_THREAD_INFO A12 LDW .D1T1 *+A12(THREAD_INFO_PREEMPT_COUNT),A1 @@ -582,7 +582,7 @@ preempt_schedule: B .S2 preempt_schedule_irq #endif ADDKPC .S2 preempt_schedule,B3,4 -#endif /* CONFIG_PREEMPT */ +#endif /* CONFIG_PREEMPTION */ ENTRY(enable_exception) DINT