linux-mips
[Top] [All Lists]

[PATCH] Don't force frame pointers for lockdep on MIPS

To: linux-mips <linux-mips@linux-mips.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Don't force frame pointers for lockdep on MIPS
From: Franck Bui-Huu <vagabon.xyz@gmail.com>
Date: Thu, 19 Apr 2007 14:25:01 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:cc:subject:content-type:content-transfer-encoding:from; b=K+HG7Zshyu23o+xCZ+NDf5pkZH0erbAI3CFJdjH6qhgoYAsJkmhPP2PM2FDvOiksWMBwlk0d7XhgLTVWFpg+TzYSRbyrRwb1KoTTGILGOAf97dRHoNaMr3AH5/UM4KhDk5PSL/TuXBEcvjZUDbUtTnkoIsiXuEF12CaP49Xt2rI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:reply-to:user-agent:mime-version:to:cc:subject:content-type:content-transfer-encoding:from; b=SlhlqQkCcgAvJt4pIRKSmlZOtJqy8Hf4YRLqTdsb23RgcONJVXxSSO+xoTy0Q4Cl+eE0mseHoLWXVNni6keDwyhIY/lCKZdH/7EmP9pQLRdnYTEGAPIUHmKVskPLKEeKWjgewWvZmvLNOox2N3YkoLLPxVWDChbUowjGoOXQFoU=
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: Franck <vagabon.xyz@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.4 (X11/20060614)
From: Franck Bui-Huu <fbuihuu@gmail.com>

Stacktrace support on MIPS doesn't use frame pointers. Since this
option considerably increases the size of the kernel code, force
lockdep to not use it.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
---
 lib/Kconfig.debug |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 3f3e740..79afd00 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -261,7 +261,7 @@ config LOCKDEP
        bool
        depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT 
&& LOCKDEP_SUPPORT
        select STACKTRACE
-       select FRAME_POINTER if !X86
+       select FRAME_POINTER if !X86 && !MIPS
        select KALLSYMS
        select KALLSYMS_ALL
 
-- 
1.5.1.1


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Don't force frame pointers for lockdep on MIPS, Franck Bui-Huu <=