[patch 10/16] powerpc: make hash_native_64.o a 64bit-only object
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Nov 3 09:31:44 EST 2006
On Thu, 2006-11-02 at 13:56 +0100, s.hauer at pengutronix.de wrote:
> plain text document attachment
> (powerpc-mm-makefile-hash_native_64-make-obj64.diff)
> Make hash_native_64.o dependent on 64bit, not on MULTIPLATFORM
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
If we ever want it, we might have specific Kconfig options for the
various low level MMU interfaces and have the platform select them, but
for now, that's fine.
> Index: arch/powerpc/mm/Makefile
> ===================================================================
> --- a/arch/powerpc/mm/Makefile.orig
> +++ b/arch/powerpc/mm/Makefile
> @@ -8,7 +8,7 @@ endif
>
> obj-y := fault.o mem.o lmb.o
> obj-$(CONFIG_PPC32) += init_32.o pgtable_32.o mmu_context_32.o
> -hash-$(CONFIG_PPC_MULTIPLATFORM) := hash_native_64.o
> +hash-$(CONFIG_PPC64) := hash_native_64.o
> obj-$(CONFIG_PPC64) += init_64.o pgtable_64.o mmu_context_64.o \
> hash_utils_64.o hash_low_64.o tlb_64.o \
> slb_low.o slb.o stab.o mmap.o imalloc.o \
>
> --
> Dipl.-Ing. Sascha Hauer | http://www.pengutronix.de
> Pengutronix - Linux Solutions for Science and Industry
> Handelsregister: Amtsgericht Hildesheim, HRA 2686
> Hannoversche Str. 2, 31134 Hildesheim, Germany
> Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list