[Top] [All Lists]

[PATCH] MIPS: SmartMIPS: Fix build

To: Ralf Baechle <>
Subject: [PATCH] MIPS: SmartMIPS: Fix build
From: Thierry Reding <>
Date: Mon, 7 Oct 2013 17:10:42 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=from:to:cc:subject:date:message-id; bh=k4hR0ttyb8kXWKkGgZFOwdhnBpcCrLaI5OCcmSdDOb4=; b=d8EMv7Kg7QmiOsVTRKMedmwEV3rYyPw3YGkWx0BDCuFEh04SZcz80MQ0ERi+2ANdm4 4jVgXeSyT+vG1WBDWyo8zris2OrEEB0w4PVpFx0L8KUIIF7jw7ssGg7qolXy/ZoZ5qoY M3bXX5/9pw7oUEELTeTrc1LLMp6r5NqYE0siuO+/AE+BYmdZh4gISgBV1zVkAk2GZSrV zGN5D7/tevma4biZ/mb4eYjyYZuwIussf0GnAWVo4PePJODQOWZRrfydvWUgMyKgyeF1 f7yXo0dxXngLANTQtE0a2InqMbQ1F5H7S4DgWZkK/VyGrnABHhfwbGsJGrYlGrukMX9K vgsw==
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
All CONFIG_CPU_HAS_SMARTMIPS #ifdefs have been removed from code, but
the ACX register declaration in struct pt_regs is still protected by it,
causing builds to fail. Remove the #ifdef protection and always declare
the register.

Signed-off-by: Thierry Reding <>
 arch/mips/include/asm/ptrace.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/mips/include/asm/ptrace.h b/arch/mips/include/asm/ptrace.h
index 7bba9da..d47bdce 100644
--- a/arch/mips/include/asm/ptrace.h
+++ b/arch/mips/include/asm/ptrace.h
@@ -33,9 +33,7 @@ struct pt_regs {
        unsigned long cp0_status;
        unsigned long hi;
        unsigned long lo;
        unsigned long acx;
        unsigned long cp0_badvaddr;
        unsigned long cp0_cause;
        unsigned long cp0_epc;

<Prev in Thread] Current Thread [Next in Thread>