Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-10 Thread Christoph Hellwig
On Fri, Mar 09, 2007 at 11:23:32PM +0100, Sam Ravnborg wrote: > > >> === > > >> --- linux-2.6.21-rc3.orig/scripts/kallsyms.c 2007-03-07 > > >> 05:41:20.0 +0100 > > >> +++ linux-2.6.21-rc3/scripts/kallsyms.c 2007-03-07

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-10 Thread Christoph Hellwig
On Fri, Mar 09, 2007 at 11:23:32PM +0100, Sam Ravnborg wrote: === --- linux-2.6.21-rc3.orig/scripts/kallsyms.c 2007-03-07 05:41:20.0 +0100 +++ linux-2.6.21-rc3/scripts/kallsyms.c 2007-03-07 23:46:46.249005000

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Jan Engelhardt
TECTED]>, >Deepak Saxena <[EMAIL PROTECTED]>, >Andrew Morton <[EMAIL PROTECTED]>, linux-kernel@vger.kernel.org >Subject: Re: [PATCH] Fix building kernel under Solaris 11_snv > Reference: http://lkml.org/lkml/2007/3/8/368 Signed-off-by: Jan Engelhardt <[EMAIL PROTECTE

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Fri, Mar 09, 2007 at 09:16:35PM +0100, Jan Engelhardt wrote: > > On Mar 9 2007 20:00, Sam Ravnborg wrote: > >On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: > >> > >> Since Solaris seems to be on the run, I did myself try compile it. > >> However, unlike the original poster

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Jan Engelhardt
On Mar 9 2007 20:00, Sam Ravnborg wrote: >On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: >> >> Since Solaris seems to be on the run, I did myself try compile it. >> However, unlike the original poster who said he did so on SunOS 4.8, I >> did it on 5.11_snv39, yielding a

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: > > On Mar 8 2007 22:25, Sam Ravnborg wrote: > >Subject: Re: [PATCH] Fix building kernel under Solaris > > Since Solaris seems to be on the run, I did myself try compile it. > However, unlike the original post

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: On Mar 8 2007 22:25, Sam Ravnborg wrote: Subject: Re: [PATCH] Fix building kernel under Solaris Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Jan Engelhardt
On Mar 9 2007 20:00, Sam Ravnborg wrote: On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so on SunOS 4.8, I did it on 5.11_snv39, yielding a bigger

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Sam Ravnborg
On Fri, Mar 09, 2007 at 09:16:35PM +0100, Jan Engelhardt wrote: On Mar 9 2007 20:00, Sam Ravnborg wrote: On Thu, Mar 08, 2007 at 11:01:57PM +0100, Jan Engelhardt wrote: Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-09 Thread Jan Engelhardt
Morton [EMAIL PROTECTED], linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix building kernel under Solaris 11_snv Reference: http://lkml.org/lkml/2007/3/8/368 Signed-off-by: Jan Engelhardt [EMAIL PROTECTED] Happy cherrypicking. More comments below. Index: linux-2.6.21-rc3/scripts

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-08 Thread Jan Engelhardt
On Mar 8 2007 22:25, Sam Ravnborg wrote: >Subject: Re: [PATCH] Fix building kernel under Solaris Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so on SunOS 4.8, I did it on 5.11_snv39, yielding a bigger changeset

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 09:43:46PM +0100, Jan Engelhardt wrote: > > On Mar 8 2007 08:35, Christoph Hellwig wrote: > >On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: > >> > >> On Mar 7 2007 09:42, Christoph Hellwig wrote: > >> >> #include > >> >> #include > >> >> #include >

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Jan Engelhardt
On Mar 8 2007 08:35, Christoph Hellwig wrote: >On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: >> >> On Mar 7 2007 09:42, Christoph Hellwig wrote: >> >> #include >> >> #include >> >> #include >> >> +#ifndef __sun__ >> >> #include >> >> #endif >> >> +#endif >> > >> >So if

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Christoph Hellwig
On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: > > On Mar 7 2007 09:42, Christoph Hellwig wrote: > >> #include > >> #include > >> #include > >> +#ifndef __sun__ > >> #include > >> #endif > >> +#endif > > > >So if solaris doesn't need it, why do we need it on Linux? > >

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Jan Engelhardt
On Mar 8 2007 08:35, Christoph Hellwig wrote: On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: On Mar 7 2007 09:42, Christoph Hellwig wrote: #include sys/time.h #include sys/ioctl.h #include sys/types.h +#ifndef __sun__ #include asm/types.h #endif +#endif

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Sam Ravnborg
On Thu, Mar 08, 2007 at 09:43:46PM +0100, Jan Engelhardt wrote: On Mar 8 2007 08:35, Christoph Hellwig wrote: On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: On Mar 7 2007 09:42, Christoph Hellwig wrote: #include sys/time.h #include sys/ioctl.h #include

Re: [PATCH] Fix building kernel under Solaris 11_snv

2007-03-08 Thread Jan Engelhardt
On Mar 8 2007 22:25, Sam Ravnborg wrote: Subject: Re: [PATCH] Fix building kernel under Solaris Since Solaris seems to be on the run, I did myself try compile it. However, unlike the original poster who said he did so on SunOS 4.8, I did it on 5.11_snv39, yielding a bigger changeset. I thought

Re: [PATCH] Fix building kernel under Solaris

2007-03-08 Thread Christoph Hellwig
On Wed, Mar 07, 2007 at 11:45:11PM +0100, Jan Engelhardt wrote: On Mar 7 2007 09:42, Christoph Hellwig wrote: #include sys/time.h #include sys/ioctl.h #include sys/types.h +#ifndef __sun__ #include asm/types.h #endif +#endif So if solaris doesn't need it, why do we need it

Re: [PATCH] Fix building kernel under Solaris

2007-03-07 Thread Jan Engelhardt
On Mar 7 2007 09:42, Christoph Hellwig wrote: >> #include >> #include >> #include >> +#ifndef __sun__ >> #include >> #endif >> +#endif > >So if solaris doesn't need it, why do we need it on Linux? For __s32 and __s16. Jan -- - To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] Fix building kernel under Solaris

2007-03-07 Thread Christoph Hellwig
On Tue, Mar 06, 2007 at 10:09:40AM -0800, Deepak Saxena wrote: > @@ -16,8 +16,10 @@ > #include > #include > #include > +#ifndef __sun__ > #include > #endif > +#endif So if solaris doesn't need it, why do we need it on Linux? > +/* > + * Solaris does not strsep > + */ > +#ifndef __sun__

Re: [PATCH] Fix building kernel under Solaris

2007-03-07 Thread Christoph Hellwig
On Tue, Mar 06, 2007 at 10:09:40AM -0800, Deepak Saxena wrote: @@ -16,8 +16,10 @@ #include sys/time.h #include sys/ioctl.h #include sys/types.h +#ifndef __sun__ #include asm/types.h #endif +#endif So if solaris doesn't need it, why do we need it on Linux? +/* + * Solaris does not

Re: [PATCH] Fix building kernel under Solaris

2007-03-07 Thread Jan Engelhardt
On Mar 7 2007 09:42, Christoph Hellwig wrote: #include sys/time.h #include sys/ioctl.h #include sys/types.h +#ifndef __sun__ #include asm/types.h #endif +#endif So if solaris doesn't need it, why do we need it on Linux? For __s32 and __s16. Jan -- - To unsubscribe from this list:

Re: [PATCH] Fix building kernel under Solaris

2007-03-06 Thread Sam Ravnborg
On Tue, Mar 06, 2007 at 10:09:40AM -0800, Deepak Saxena wrote: > > Fix varous build breakages that occur when building on a Solaris system > (SunOS 4.8 to be exact) > > - No asm/types.h > > - lpptest doesn't make sense on a Solaris host (this should really be > cross-built..) > > - Need to

Re: [PATCH] Fix building kernel under Solaris

2007-03-06 Thread Deepak Saxena
SIGRETRACT I have -rt merged into my tree so this won't apply cleanly to mainline. ~Deepak On Mar 06 2007, at 10:09, Deepak Saxena was caught saying: > > Fix varous build breakages that occur when building on a Solaris system > (SunOS 4.8 to be exact) > > - No asm/types.h > > - lpptest

[PATCH] Fix building kernel under Solaris

2007-03-06 Thread Deepak Saxena
Fix varous build breakages that occur when building on a Solaris system (SunOS 4.8 to be exact) - No asm/types.h - lpptest doesn't make sense on a Solaris host (this should really be cross-built..) - Need to define __s32 and __s16 - Need to define Elf32_Section and Elf64_Section - Solaris

[PATCH] Fix building kernel under Solaris

2007-03-06 Thread Deepak Saxena
Fix varous build breakages that occur when building on a Solaris system (SunOS 4.8 to be exact) - No asm/types.h - lpptest doesn't make sense on a Solaris host (this should really be cross-built..) - Need to define __s32 and __s16 - Need to define Elf32_Section and Elf64_Section - Solaris

Re: [PATCH] Fix building kernel under Solaris

2007-03-06 Thread Deepak Saxena
SIGRETRACT I have -rt merged into my tree so this won't apply cleanly to mainline. ~Deepak On Mar 06 2007, at 10:09, Deepak Saxena was caught saying: Fix varous build breakages that occur when building on a Solaris system (SunOS 4.8 to be exact) - No asm/types.h - lpptest doesn't

Re: [PATCH] Fix building kernel under Solaris

2007-03-06 Thread Sam Ravnborg
On Tue, Mar 06, 2007 at 10:09:40AM -0800, Deepak Saxena wrote: Fix varous build breakages that occur when building on a Solaris system (SunOS 4.8 to be exact) - No asm/types.h - lpptest doesn't make sense on a Solaris host (this should really be cross-built..) - Need to define