Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()).
b5affb014 (blackfin: add bf60x to current framework) accidentally (?)
reverted the change.
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Tobias Klauser <[email protected]>
---
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
On Thursday 16 August 2012 11:02:15 Tobias Klauser wrote:
> Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()).
>
> b5affb014 (blackfin: add bf60x to current framework) accidentally (?)
> reverted the change.
Acked-by: Mike Frysinger <[email protected]>
-mike
On Thu, Aug 16, 2012 at 11:02 PM, Tobias Klauser <[email protected]> wrote:
> Follow bd2f5536 (sched/rt: Use schedule_preempt_disabled()).
>
> b5affb014 (blackfin: add bf60x to current framework) accidentally (?)
> reverted the change.
>
Applied, Thank you!
> Cc: Thomas Gleixner <[email protected]>
> Cc: Peter Zijlstra <[email protected]>
> Cc: Ingo Molnar <[email protected]>
> Signed-off-by: Tobias Klauser <[email protected]>
> ---
> 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
>
--
Regards,
--Bob