Subject: Re: Protecting the rest of the kerner headers against multiple inclusion
To: Christos Zoulas <>
From: Simon Burge <>
List: tech-kern
Date: 09/11/1999 18:13:39
Christos Zoulas wrote:

> The proposal is to have the last component of the path for MI code
> and the machine name for MD code.
> MD: _I386_TYPES_H_ _I368_ENDIAN_H_ *OR*
> I think that the first is better for MD code, the disadvantage being that
> you will be able to include MD files from multiple archs... But that is
> screwed up anyway, and should be allowed if you know what you are doing.

Maybe _MACHINE_ARCH_TYPES_H and _MACHINE_TYPES_H of you go with the
latter MD idea - things in both arch/mips/include and arch/pmax/include
come to mind.  I think the former MD choice would look better...