Received: from multi.imgtec.com ([194.200.65.239]:32343 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6835146Ab3FQOBc7Q21D (ORCPT ); Mon, 17 Jun 2013 16:01:32 +0200 From: Markos Chandras Subject: [PATCH 1/7] MIPS: sibyte: Fix build for SIBYTE_BW_TRACE Date: Mon, 17 Jun 2013 15:00:35 +0100 Message-ID: <1371477641-7989-2-git-send-email-markos.chandras@imgtec.com> In-Reply-To: <1371477641-7989-1-git-send-email-markos.chandras@imgtec.com> References: <1371477641-7989-1-git-send-email-markos.chandras@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Cc: Markos Chandras , sibyte-users@bitmover.com Message-ID: <20130617140035.pgKy_jh8V6fUyKgOqB17_oY3Hl73U6rtPTq5FeIKYjA@z> The M_BCM1480_SCD_TRACE_CFG_FREEZE macro removed in 8deab1144b553548fb2f1b51affdd36dcd652aaa "[MIPS] Updated Sibyte headers" This broke the build for the sibyte platfrom when SIBYTE_BW_TRACE is enabled: arch/mips/mm/cerr-sb1.c:186:2: error: 'M_BCM1480_SCD_TRACE_CFG_FREEZE' undeclared (first use in this function) We fix this by replacing it with the M_BCM1480_SYS_RESERVED4 macro Signed-off-by: Markos Chandras Acked-by: Steven J. Hill Cc: sibyte-users@bitmover.com --- arch/mips/mm/cerr-sb1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/mm/cerr-sb1.c b/arch/mips/mm/cerr-sb1.c index 576add3..1a24534 100644 --- a/arch/mips/mm/cerr-sb1.c +++ b/arch/mips/mm/cerr-sb1.c @@ -183,7 +183,7 @@ asmlinkage void sb1_cache_error(void) #ifdef CONFIG_SIBYTE_BW_TRACE /* Freeze the trace buffer now */ #if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80) - csr_out32(M_BCM1480_SCD_TRACE_CFG_FREEZE, IOADDR(A_SCD_TRACE_CFG)); + csr_out32(M_BCM1480_SYS_RESERVED4, IOADDR(A_SCD_TRACE_CFG)); #else csr_out32(M_SCD_TRACE_CFG_FREEZE, IOADDR(A_SCD_TRACE_CFG)); #endif -- 1.8.2.1