lkml.org 
[lkml]   [2007]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [PATCH] Remove fs.h from mm.h
    Hi, Alexery,

    This change breaks m32r, too.
    Don't forget updating the other archs, please.

    From: Linus Torvalds <torvalds@linux-foundation.org>
    Subject: Re: [PATCH] Remove fs.h from mm.h
    Date: Sun, 29 Jul 2007 17:08:20 -0700 (PDT)
    >
    > On Mon, 30 Jul 2007, Alexey Dobriyan wrote:
    > >
    > > Cross-compile tested without regressions on my two usual configs and (sigh):
    > >
    > > alpha arm-mx1ads mips-bigsur powerpc-ebony
    > ..
    >
    > Heh.
    >
    > Kudos for going above and beyond.
    >
    > "But where is blackfin and frv?"
    >
    > Thanks,
    >
    > Linus
    > -

    Here is a patch for the m32r.

    [PATCH] m32r: build fix for removing fs.h from mm.h

    This patch is required against the commit:
    Remove fs.h from mm.h
    4e950f6f0189f65f8bf069cf2272649ef418f5e4

    Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
    ---
    arch/m32r/kernel/ptrace.c | 1 +
    arch/m32r/kernel/smpboot.c | 1 +
    arch/m32r/kernel/sys_m32r.c | 1 +
    3 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/arch/m32r/kernel/ptrace.c b/arch/m32r/kernel/ptrace.c
    index 57a92ef..62a5142 100644
    --- a/arch/m32r/kernel/ptrace.c
    +++ b/arch/m32r/kernel/ptrace.c
    @@ -17,6 +17,7 @@
    #include <linux/kernel.h>
    #include <linux/sched.h>
    #include <linux/mm.h>
    +#include <linux/err.h>
    #include <linux/smp.h>
    #include <linux/smp_lock.h>
    #include <linux/errno.h>
    diff --git a/arch/m32r/kernel/smpboot.c b/arch/m32r/kernel/smpboot.c
    index 3eb3059..9dae410 100644
    --- a/arch/m32r/kernel/smpboot.c
    +++ b/arch/m32r/kernel/smpboot.c
    @@ -43,6 +43,7 @@
    #include <linux/init.h>
    #include <linux/kernel.h>
    #include <linux/mm.h>
    +#include <linux/err.h>
    #include <linux/irq.h>
    #include <linux/bootmem.h>
    #include <linux/delay.h>
    diff --git a/arch/m32r/kernel/sys_m32r.c b/arch/m32r/kernel/sys_m32r.c
    index bda8554..b13dbbe 100644
    --- a/arch/m32r/kernel/sys_m32r.c
    +++ b/arch/m32r/kernel/sys_m32r.c
    @@ -10,6 +10,7 @@
    #include <linux/errno.h>
    #include <linux/sched.h>
    #include <linux/mm.h>
    +#include <linux/fs.h>
    #include <linux/smp.h>
    #include <linux/sem.h>
    #include <linux/msg.h>
    --
    1.5.2.4
    --
    Hirokazu Takata <takata@linux-m32r.org>
    Linux/M32R Project: http://www.linux-m32r.org/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-07-30 15:03    [W:0.025 / U:0.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site