Re: [PATCH] Documentation:fix the wrong file position in sched-arch.txt

From: Connor Hansen
Date: Mon Jun 13 2011 - 00:56:23 EST


On Sun, Jun 12, 2011 at 9:35 PM, Wanlong Gao <wanlong.gao@xxxxxxxxx> wrote:
> The arch i386 had changed to x86.

$ grep -R "i386" Documentation/ | wc -l
155

Fix them all with:
grep -lZR "i386" Documentation/ | xargs -0 -l sed -i -e 's/i386/x86/g'

or send ~ 100 patches

-Connor

>
> Signed-off-by: Wanlong Gao <wanlong.gao@xxxxxxxxx>
> ---
>  Documentation/scheduler/sched-arch.txt |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/scheduler/sched-arch.txt b/Documentation/scheduler/sched-arch.txt
> index d43dbcb..28aa107 100644
> --- a/Documentation/scheduler/sched-arch.txt
> +++ b/Documentation/scheduler/sched-arch.txt
> @@ -66,7 +66,7 @@ Your cpu_idle routines need to obey the following rules:
>            barrier issued (followed by a test of need_resched with
>            interrupts disabled, as explained in 3).
>
> -arch/i386/kernel/process.c has examples of both polling and
> +arch/x86/kernel/process.c has examples of both polling and
>  sleeping idle functions.
>
>
> --
> 1.7.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/