Re: [git pull -tip] headers_check fixes for other architectures

From: Jaswinder Singh Rajput
Date: Fri Feb 06 2009 - 10:01:44 EST


On Fri, 2009-02-06 at 14:51 +0000, Russell King - ARM Linux wrote:
> > >
> > > So no point including this file in assembly with this patch - the ifndef
> > > disables the entire file.
> >
> > Truth Table of linux/types.h :
> >
> > If Assembly then N
> > otherwise Y
> >
> > what your table says.
>
> If the entire file is not suitable for assembly, don't include the file
> in assembly files. Nice and simple, and no need to add additional ifdefs.

Ahh, so your truth table says:

If Assembly then make different header files
If C then make another header files

Do not you think your truth table is complex and very difficult to
handle and maintain ?

Can we make things simple and easier.

Thanks,
--
JSR


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