Re: [patch 23/29] sparc: Use generic init_task

From: Sam Ravnborg
Date: Mon Apr 30 2012 - 16:35:38 EST


On Mon, Apr 30, 2012 at 08:16:03PM -0000, Thomas Gleixner wrote:
> Same code. Use the generic version.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> ---
> arch/sparc/Kconfig | 1 +
> arch/sparc/kernel/init_task.c | 22 ----------------------
> 2 files changed, 1 insertion(+), 22 deletions(-)
>
> Index: tip/arch/sparc/Kconfig
> ===================================================================
> --- tip.orig/arch/sparc/Kconfig
> +++ tip/arch/sparc/Kconfig
> @@ -31,6 +31,7 @@ config SPARC
> select GENERIC_PCI_IOMAP
> select HAVE_NMI_WATCHDOG if SPARC64
> select GENERIC_SMP_IDLE_THREAD
> + select HAVE_GENERIC_INIT_TASK
>
> config SPARC32
> def_bool !64BIT
> Index: tip/arch/sparc/kernel/init_task.c
> ===================================================================
> --- tip.orig/arch/sparc/kernel/init_task.c
> +++ /dev/null

This breaks sparc build as it has the following in arch/sparc/Makefile:

head-y += arch/sparc/kernel/init_task.o

And this patch deletes that file.
So at least you need to delete said line in this patch too.

Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/