On Mon, Dec 08, 2008 at 09:58:14PM +0100, Sam Ravnborg wrote:
> [this mail is cross posted to uclinux mailing list which is subscriber only]
>
> Following is a pseudo patch (a script + a patch) that merges
> the include files for m68k and m68knommu in one place at:
I fixed the missing files so we
> >>
> >>>I'm not sure if it's entirely correct, but I think you can use
> >>>
> >>>#ifdef __KERNEL__
> >>># ifdef CONFIG_MMU
> >>># include "atomic_mm.h
> >>># else
> >>># include "atomic_no.h
> >>># endif
> >>>#else
> >>># ifndef __uClinux__
> >>># include "atomic_mm.h
> >>># else
> >>># incl
On Tue, Dec 09, 2008 at 12:26:05AM +0100, Arnd Bergmann wrote:
> On Tuesday 09 December 2008, Geert Uytterhoeven wrote:
> > > I have used the following include guard:
> > >
> > > #ifdef __uClinux__
> > > #include "atomic_no.h"
> > > #else
> > > #include "atomic_mm.h"
> > > #endif
> > >
> > > gcc