From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id D1759DDD06 for ; Tue, 17 Jul 2007 07:50:36 +1000 (EST) Subject: Re: [PATCH] cell: CONFIG_SPE_BASE is a typo (was: Re: possible dead CONFIG-related content under arch/powerpc) From: Benjamin Herrenschmidt To: Geert Uytterhoeven In-Reply-To: References: <1184591114.17330.1.camel@concordia.ozlabs.ibm.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 17 Jul 2007 07:50:27 +1000 Message-Id: <1184622627.25235.93.camel@localhost.localdomain> Mime-Version: 1.0 Cc: Linux PPC Mailing List , "Robert P. J. Day" , Arnd Bergmann List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2007-07-16 at 18:35 +0200, Geert Uytterhoeven wrote: > The config symbol for SPE support is called CONFIG_SPU_BASE, not > CONFIG_SPE_BASE. Oops... Arnd, we need to check the distro kernels here. > Signed-off-by: Geert Uytterhoeven Acked-by: Benjamin Herrenschmidt > diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c > index 4f2f453..0b25d42 100644 > --- a/arch/powerpc/mm/hash_utils_64.c > +++ b/arch/powerpc/mm/hash_utils_64.c > @@ -609,7 +609,7 @@ static void demote_segment_4k(struct mm_struct *mm, unsigned long addr) > mm->context.sllp = SLB_VSID_USER | mmu_psize_defs[MMU_PAGE_4K].sllp; > #endif /* CONFIG_PPC_MM_SLICES */ > > -#ifdef CONFIG_SPE_BASE > +#ifdef CONFIG_SPU_BASE > spu_flush_all_slbs(mm); > #endif > } > @@ -744,7 +744,7 @@ int hash_page(unsigned long ea, unsigned long access, unsigned long trap) > "to 4kB pages because of " > "non-cacheable mapping\n"); > psize = mmu_vmalloc_psize = MMU_PAGE_4K; > -#ifdef CONFIG_SPE_BASE > +#ifdef CONFIG_SPU_BASE > spu_flush_all_slbs(mm); > #endif > } > > With kind regards, > > Geert Uytterhoeven > Software Architect > > Sony Network and Software Technology Center Europe > The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium > > Phone: +32 (0)2 700 8453 > Fax: +32 (0)2 700 8622 > E-mail: Geert.Uytterhoeven@sonycom.com > Internet: http://www.sony-europe.com/ > > Sony Network and Software Technology Center Europe > A division of Sony Service Centre (Europe) N.V. > Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium > VAT BE 0413.825.160 · RPR Brussels > Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619 > _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev