Re: [PATCH v2 1/4] fsl_rio: fix compile errors
From: Scott Wood <hidden>
Date: 2010-08-05 17:54:37
From: Scott Wood <hidden>
Date: 2010-08-05 17:54:37
On Thu, 5 Aug 2010 12:39:48 -0500 Kumar Gala [off-list ref] wrote:
On Jun 18, 2010, at 1:24 AM, Li Yang wrote:quoted
Fixes the following compile problem on E500 platforms: arch/powerpc/sysdev/fsl_rio.c: In function 'fsl_rio_mcheck_exception': arch/powerpc/sysdev/fsl_rio.c:248: error: 'MCSR_MASK' undeclared (first use in this function) Also fixes the compile problem on non-E500 platforms. Signed-off-by: Li Yang <redacted> --- arch/powerpc/sysdev/fsl_rio.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)I'm confused is this handler not relevant for e500MC? The 2nd patch makes me thing it is.
It is, though it needs to use a different MCSR bit on e500mc. Are you referring to the #ifdef CONFIG_E500? CONFIG_PPC_E500MC depends on CONFIG_E500... -Scott