Re: [uml-devel] [PATCH] um: Include missing header file in os-linux/mem.c

From: Andrew Morton
Date: Tue Jun 29 2010 - 14:51:24 EST


On Tue, 29 Jun 2010 11:35:00 +0300
Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:

> On 06/15/2010 11:06 AM, Liu Aleaxander wrote:
> > The os-linux/mem.c file calls fchmod function, which is declared in sys/stat.h
> > header file, so include it.
> >
> > Signed-off-by: Liu Aleaxander <Aleaxander@xxxxxxxxx>
> > ---
> > arch/um/os-Linux/mem.c | 1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/arch/um/os-Linux/mem.c b/arch/um/os-Linux/mem.c
> > index 93a11d7..e696144 100644
> > --- a/arch/um/os-Linux/mem.c
> > +++ b/arch/um/os-Linux/mem.c
> > @@ -10,6 +10,7 @@
> > #include <errno.h>
> > #include <fcntl.h>
> > #include <string.h>
> > +#include <sys/stat.h>
> > #include <sys/mman.h>
> > #include <sys/param.h>
> > #include "init.h"
> >
>
> On 06/15/2010 04:06 AM, Liu Aleaxander wrote:
> > On Wed, Jun 16, 2010 at 7:16 AM, Boaz Harrosh <bharrosh@xxxxxxxxxxx> wrote:
> >>
> >> Yes. I have the same patch.
> >>
> >> Apparently it's new for Fedora 13. Previous Fedora's are compiling fine.
> >
> > Same here:)
> >
> >> I guess something has changed with the new gcc headers include sequence
> >
>
> Andrew? Jeff? someone?

I got it.

> I saw that some uml patches where pushed for -rc4. What about this patch?
> could some one push this patch? It's for FC13 compilation?
>
> It might be needed for stable@ as well. I'll try to test with old Kernels.
> Am back on an FC12 in the office so it'll take some time.

Yes, it's needed in -stable. People will want to compile 2.6.34 under
FC13.


--
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/