Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759374Ab0GVNIB (ORCPT ); Thu, 22 Jul 2010 09:08:01 -0400 Received: from mxout1.idt.com ([157.165.5.25]:43495 "EHLO mxout1.idt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754186Ab0GVNH5 (ORCPT ); Thu, 22 Jul 2010 09:07:57 -0400 X-Greylist: delayed 957 seconds by postgrey-1.27 at vger.kernel.org; Thu, 22 Jul 2010 09:07:57 EDT From: Alexandre Bounine To: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org Cc: Alexandre Bounine , Kumar Gala , Grant Likely , Matt Porter Subject: [PATCH] RapidIO,powerpc/85xx: remove MCSR_MASK in fsl_rio Date: Wed, 21 Jul 2010 12:46:50 -0400 Message-Id: <1279730810-24926-1-git-send-email-alexandre.bounine@idt.com> X-Mailer: git-send-email 1.7.0.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1190 Lines: 31 Fixes compile problem caused by MCSR_MASK removal from book-E definitions. Signed-off-by: Alexandre Bounine Cc: Kumar Gala Cc: Grant Likely Cc: Matt Porter --- arch/powerpc/sysdev/fsl_rio.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c index 30e1626..c58df58 100644 --- a/arch/powerpc/sysdev/fsl_rio.c +++ b/arch/powerpc/sysdev/fsl_rio.c @@ -245,7 +245,7 @@ static int (*saved_mcheck_exception)(struct pt_regs *regs); static int fsl_rio_mcheck_exception(struct pt_regs *regs) { const struct exception_table_entry *entry = NULL; - unsigned long reason = (mfspr(SPRN_MCSR) & MCSR_MASK); + unsigned long reason = mfspr(SPRN_MCSR); if (reason & MCSR_BUS_RBERR) { reason = in_be32((u32 *)(rio_regs_win + RIO_LTLEDCSR)); -- 1.7.0.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/