From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757352Ab2ECJJW (ORCPT ); Thu, 3 May 2012 05:09:22 -0400 Received: from www.linutronix.de ([62.245.132.108]:49910 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755932Ab2ECJCx (ORCPT ); Thu, 3 May 2012 05:02:53 -0400 Message-Id: <20120503085034.412398724@linutronix.de> User-Agent: quilt/0.48-1 Date: Thu, 03 May 2012 09:02:52 -0000 From: Thomas Gleixner To: LKML Cc: Mark Salter Subject: [patch V2 09/31] cx6: Use generic init_task References: <20120503083859.991965503@linutronix.de> Content-Disposition: inline; filename=cx6-use-generic-idle-task.patch X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Same code. Use the generic version. Signed-off-by: Thomas Gleixner Cc: Mark Salter --- arch/c6x/Kconfig | 1 + arch/c6x/kernel/process.c | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) Index: tip/arch/c6x/Kconfig =================================================================== --- tip.orig/arch/c6x/Kconfig +++ tip/arch/c6x/Kconfig @@ -15,6 +15,7 @@ config TMS320C6X select IRQ_DOMAIN select OF select OF_EARLY_FLATTREE + select HAVE_GENERIC_INIT_TASK config MMU def_bool n Index: tip/arch/c6x/kernel/process.c =================================================================== --- tip.orig/arch/c6x/kernel/process.c +++ tip/arch/c6x/kernel/process.c @@ -26,22 +26,6 @@ void (*c6x_halt)(void); extern asmlinkage void ret_from_fork(void); -static struct signal_struct init_signals = INIT_SIGNALS(init_signals); -static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); - -/* - * Initial thread structure. - */ -union thread_union init_thread_union __init_task_data = { - INIT_THREAD_INFO(init_task) -}; - -/* - * Initial task structure. - */ -struct task_struct init_task = INIT_TASK(init_task); -EXPORT_SYMBOL(init_task); - /* * power off function, if any */