[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234364503-857-2-git-send-email-matsu@igel.co.jp>
Date: Thu, 12 Feb 2009 00:01:40 +0900
From: Katsuya Matsubara <matsu@...l.co.jp>
To: linux-rt-users <linux-rt-users@...r.kernel.org>
Cc: Steven Rostedt <srostedt@...hat.com>, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>,
Paul Mundt <lethal@...ux-sh.org>,
LKML <linux-kernel@...r.kernel.org>,
Katsuya Matsubara <matsu@...l.co.jp>
Subject: [PATCH RT 1/4] sh: use __preempt_enable_no_resched in cpu_idle()
__preempt_enable_no_resched skips preempt_count check. However it is
of no matter since schedule is called afterwards in this case.
The same was done for arm in <http://lkml.org/lkml/2009/2/2/291>.
Signed-off-by: Katsuya Matsubara <matsu@...l.co.jp>
---
arch/sh/kernel/process_32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c
index b965f02..483fe78 100644
--- a/arch/sh/kernel/process_32.c
+++ b/arch/sh/kernel/process_32.c
@@ -84,7 +84,7 @@ void cpu_idle(void)
idle();
tick_nohz_restart_sched_tick();
- preempt_enable_no_resched();
+ __preempt_enable_no_resched();
schedule();
preempt_disable();
check_pgt_cache();
--
1.6.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists