[PATCH] fix error in cpm2

Vitaly Bordug vbordug at ru.mvista.com
Wed Sep 20 00:55:17 EST 2006


On Mon, 18 Sep 2006 23:06:25 -0400
Amy Fong <amy.fong at windriver.com> wrote:

> The following patch fixes a typo in cpm2.h resulting in a compile error.
> 
> Signed-off-by: Amy Fong <amy.fong at windriver.com>
> 
> Index: linux-2.6.18-rc6/include/asm-ppc/cpm2.h
> ===================================================================
> --- linux-2.6.18-rc6.orig/include/asm-ppc/cpm2.h
> +++ linux-2.6.18-rc6/include/asm-ppc/cpm2.h
> @@ -1186,7 +1186,7 @@
>  #define FCC_MEM_OFFSET(x) (CPM_FCC_SPECIAL_BASE + (x*128))
>  #define FCC1_MEM_OFFSET FCC_MEM_OFFSET(0)
>  #define FCC2_MEM_OFFSET FCC_MEM_OFFSET(1)
> -#define FCC2_MEM_OFFSET FCC_MEM_OFFSET(2)
> +#define FCC3_MEM_OFFSET FCC_MEM_OFFSET(2)
>  
>  #endif /* __CPM2__ */
>  #endif /* __KERNEL__ */
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> 
> 
Well, I have this hunk in

[PATCH 3/7] POWERPC: Move generic cpm2 stuff to powerpc
already...

Paul, does it make sense to extract and re-send this specific fix?
I think it will be OK for this to appear next major merge...
-- 
Sincerely, 
Vitaly



More information about the Linuxppc-dev mailing list