Re: [PATCH 1/4] Add linux/io.h to make it compile

Philippe De Muyter
2012-10-15T14:40:03Z

Hello Stany,

On Mon, Oct 15, 2012 at 04:06:47PM +0200, Stany MARCEL wrote:
> Hello Philippe,
>
> It does not compile with my config (MMU on), io.h header is missing for __raw_* operations.

Actually, the problem seems to be more in the .h files, that should
provide the same set of macros/functions regardless of CONFIG_MMU
or not.

I have a similar problem with out_be32 available from asm/io.h in
CONFIG_MMU mode, but not without CONFIG_MMU.

Greg, Geert ?

Best regards

Philippe

>
> But it might compile with MMU disabled.
>
> Regards
>
> -----Message d'origine-----
> De : Philippe De Muyter [mailto:phdm@macqel.be]
> Envoyé : lundi 15 octobre 2012 15:58
> À : Stany MARCEL
> Cc : linux-m68k@vger.kernel.org; gerg@uclinux.org
> Objet : Re: [PATCH 1/4] Add linux/io.h to make it compile
>
> Hello Stany,
>
> On Mon, Oct 15, 2012 at 02:54:37PM +0200, Stany MARCEL wrote:
>
> > [PATCH 1/4] Add linux/io.h to make it compile
>
> You could probably be more precise in your patch title :)
>
> What error message did you get without your patch ?
>
> I compile m54xx_wdt.c without CONFIG_MMU without error.
>
> Best regards
>
> Philippe

--
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles