Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756340Ab0HJJLq (ORCPT ); Tue, 10 Aug 2010 05:11:46 -0400 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:58027 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755292Ab0HJJL0 (ORCPT ); Tue, 10 Aug 2010 05:11:26 -0400 Date: Tue, 10 Aug 2010 11:11:24 +0200 From: Christian Dietrich To: David Howells , KOSAKI Motohiro , Andreas Dilger , Jiri Kosina , linux-kernel@vger.kernel.org Cc: vamos-dev@i4.informatik.uni-erlangen.de Subject: [PATCH 4/4] arch/frv: Removing dead DEBUG_STACK_USAGE config option Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 39 CONFIG_DEBUG_STACK_USAGE doesn't exist in Kconfig, therefore removing all references to it from the source. Signed-off-by: Christian Dietrich --- arch/frv/include/asm/thread_info.h | 11 ----------- 1 files changed, 0 insertions(+), 11 deletions(-) diff --git a/arch/frv/include/asm/thread_info.h b/arch/frv/include/asm/thread_info.h index 11f33ea..89ab701 100644 --- a/arch/frv/include/asm/thread_info.h +++ b/arch/frv/include/asm/thread_info.h @@ -83,18 +83,7 @@ register struct thread_info *__current_thread_info asm("gr15"); #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR /* thread information allocation */ -#ifdef CONFIG_DEBUG_STACK_USAGE -#define alloc_thread_info(tsk) \ - ({ \ - struct thread_info *ret; \ - \ - ret = kzalloc(THREAD_SIZE, GFP_KERNEL); \ - \ - ret; \ - }) -#else #define alloc_thread_info(tsk) kmalloc(THREAD_SIZE, GFP_KERNEL) -#endif #define free_thread_info(info) kfree(info) -- 1.7.0.4 -- 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/