Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755409Ab2HPPKo (ORCPT ); Thu, 16 Aug 2012 11:10:44 -0400 Received: from mx1.zhaw.ch ([160.85.104.50]:48265 "EHLO mx1.zhaw.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475Ab2HPPKn (ORCPT ); Thu, 16 Aug 2012 11:10:43 -0400 X-Greylist: delayed 506 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Aug 2012 11:10:43 EDT From: Tobias Klauser To: Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Ingo Molnar Subject: [PATCH] c6x: Use schedule_preempt_disabled() Date: Thu, 16 Aug 2012 17:03:43 +0200 Message-Id: <1345129423-1626-1-git-send-email-tklauser@distanz.ch> X-Mailer: git-send-email 1.7.5.4 X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.8.16.145125 X-PerlMx-Spam: Gauge=IIIIIIII, Probability=8%, Report=' HTML_NO_HTTP 0.1, MULTIPLE_RCPTS 0.1, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, BODY_SIZE_700_799 0, NO_URI_FOUND 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MULTIPLE_RCPTS_CC_X2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0' Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 33 Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()). Cc: Thomas Gleixner Cc: Peter Zijlstra Cc: Ingo Molnar Signed-off-by: Tobias Klauser --- arch/c6x/kernel/process.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/c6x/kernel/process.c b/arch/c6x/kernel/process.c index 45e924a..4ff4862 100644 --- a/arch/c6x/kernel/process.c +++ b/arch/c6x/kernel/process.c @@ -68,9 +68,7 @@ void cpu_idle(void) rcu_idle_exit(); tick_nohz_idle_exit(); - preempt_enable_no_resched(); - schedule(); - preempt_disable(); + schedule_preempt_disabled(); } } -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/