[RFC][PATCH 3/8] 4xx MMU

Arnd Bergmann arnd at arndb.de
Thu Jul 12 06:56:38 EST 2007


On Wednesday 11 July 2007, Josh Boyer wrote:
> +#elif defined(CONFIG_40x)
> +/* 40x-style software loaded TLB */
> +#  include <asm/mmu-4xx.h>
>  #elif defined(CONFIG_44x)
>  /* 44x-style software loaded TLB */
>  #  include <asm/mmu-44x.h>

If you call it mmu-4xx, shouldn't it be used
for 44x as well? I would think this either
should be

> +#elif defined(CONFIG_4xx)
> +/* 40x-style software loaded TLB */
> +#  include <asm/mmu-4xx.h>
> -#elif defined(CONFIG_44x)
> -/* 44x-style software loaded TLB */
> -#  include <asm/mmu-44x.h>

or 

> +#elif defined(CONFIG_40x)
> +/* 40x-style software loaded TLB */
> +#  include <asm/mmu-40x.h>
>  #elif defined(CONFIG_44x)
>  /* 44x-style software loaded TLB */
>  #  include <asm/mmu-44x.h>

Is it actually feasible to get to a point where
you can build a kernel that boots on both
40x and 44x, or is it just too different?

	Arnd <><



More information about the Linuxppc-dev mailing list