Re: linux-next: manual merge of the tip tree with the m68knommutree
From: Stephen Rothwell
Date: Tue Mar 20 2012 - 20:39:30 EST
Hi Greg, Geert,
On Fri, 2 Mar 2012 13:49:03 +1100 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Today's linux-next merge of the tip tree got conflicts in
> arch/m68k/kernel/process_no.c and arch/m68k/kernel/process_mm.c between
> commit 8d8b74c955fd ("m68k: merge the MMU and non-MMU versions of
> process.c") from the m68knommu tree and commit bd2f55361f18 ("sched/rt:
> Use schedule_preempt_disabled()") from the tip tree.
That tip tree commit is now in Linus' tree, so I am now applying the
patch below after merging the m68knommu tree.
> The former merged these two files into a single process.c, so I removed
> them. I then applied the following merge fix patch.
>
> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Fri, 2 Mar 2012 13:43:03 +1100
> Subject: [PATCH] sched/rt: Use schedule_preempt_disabled() in m68k
>
> Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> ---
> arch/m68k/kernel/process.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c
> index f053e24..c54ef927 100644
> --- a/arch/m68k/kernel/process.c
> +++ b/arch/m68k/kernel/process.c
> @@ -78,9 +78,7 @@ void cpu_idle(void)
> while (1) {
> while (!need_resched())
> idle();
> - preempt_enable_no_resched();
> - schedule();
> - preempt_disable();
> + schedule_preempt_disabled();
> }
> }
>
> --
> 1.7.9.1
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature