Subject: include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory

From: Timur Tabi <[email-masked]>
Date: Thu, 04 Oct 2007 17:28:42 -0500

Kumar, this is what I get when I compile your 2.6.24 branch for the 8610:

   CC      arch/powerpc/sysdev/fsl_soc.o
In file included from arch/powerpc/sysdev/fsl_soc.c:40:
include/asm/cpm2.h:14:21: error: asm/cpm.h: No such file or directory
make[1]: *** [arch/powerpc/sysdev/fsl_soc.o] Error 1
make: *** [arch/powerpc/sysdev] Error 2

Commenting out the "#include <asm/cpm.h>" in cpm2.h makes the compilation 
failure go away, but I don't know if that's the proper fix, since the 8610 
doesn't have a CPM.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale