[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1345129335-23688-1-git-send-email-tklauser@distanz.ch>
Date: Thu, 16 Aug 2012 17:02:15 +0200
From: Tobias Klauser <tklauser@...tanz.ch>
To: Mike Frysinger <vapier@...too.org>
Cc: Bob Liu <lliubbo@...il.com>,
uclinux-dist-devel@...ckfin.uclinux.org,
linux-kernel@...r.kernel.org, Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>
Subject: [PATCH] blackfin: Use schedule_preempt_disabled()
Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()).
b5affb014 (blackfin: add bf60x to current framework) accidentally (?)
reverted the change.
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Ingo Molnar <mingo@...e.hu>
Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
---
arch/blackfin/kernel/process.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 62bcea7..8936bbb 100644
--- a/arch/blackfin/kernel/process.c
+++ b/arch/blackfin/kernel/process.c
@@ -95,9 +95,7 @@ void cpu_idle(void)
idle();
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@...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