Re: getting include-files from arch/<arch>/subdir

From: Eric W. Biederman (ebiederm@biederman.org)
Date: Tue Oct 24 2000 - 23:13:52 EST


"Heusden, Folkert van" <f.v.heusden@ftr.nl> writes:

> Hi,
>
> ADC> why not
> ADC> #include <arch/i386/etc.h>
> ADC> Amit
>
> Since that is not cross-platform. I like a solution which does the #include
> transparantly
> for alpha/i386/etc.

Umm. Then the include file should probably rest under the include hierarchy.
Say: #include<asm/i386/etc.h>

That make it clear the code is exported to someone else...
Going down into the arch tree looks ugly.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:15 EST