From: Benjamin Herrenschmidt <benh@au1.ibm.com>
To: Rusty Russell <rusty@fandango2.ozlabs.ibm.com>
Cc: linux-kernel@vger.kernel.org, Paul Mackerras <paulus@samba.org>
Subject: Re: [PATCH] powerpc: fix compile damage from 2a4aca11
Date: Mon, 29 Dec 2008 17:47:17 +1100 [thread overview]
Message-ID: <1230533237.15389.43.camel@pasglop> (raw)
In-Reply-To: <200812291711.26118.rusty@fandango2.ozlabs.ibm.com>
On Mon, 2008-12-29 at 17:41 +1100, Rusty Russell wrote:
> In file included from /scratch/kisskb/src/arch/powerpc/mm/mem.c:51:
> /scratch/kisskb/src/arch/powerpc/mm/mmu_decl.h: In function
> '_tlbil_all':
> /scratch/kisskb/src/arch/powerpc/mm/mmu_decl.h:34: error: expected ';'
> before '}' token
> /scratch/kisskb/src/arch/powerpc/mm/mmu_decl.h:36: error: invalid
> storage class for function '_tlbil_pid'
>
> "powerpc/mm: Split low level tlb invalidate for nohash processors" needs
> more semicolons. Or testing. Or both.
Yeah, looks like both paulus and I are missing 40x and 8xx test configs
in our build tests :-( I'll fix that.,
> Signed-off-by: Rusty Russell <rusty@Fandango2.ozlabs.ibm.com>
Nice signed-off :-)
Cheers,
Ben.
> diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h
> index 4314b39..ad123bc 100644
> --- a/arch/powerpc/mm/mmu_decl.h
> +++ b/arch/powerpc/mm/mmu_decl.h
> @@ -30,11 +30,11 @@
> #if defined(CONFIG_40x) || defined(CONFIG_8xx)
> static inline void _tlbil_all(void)
> {
> - asm volatile ("sync; tlbia; isync" : : : "memory")
> + asm volatile ("sync; tlbia; isync" : : : "memory");
> }
> static inline void _tlbil_pid(unsigned int pid)
> {
> - asm volatile ("sync; tlbia; isync" : : : "memory")
> + asm volatile ("sync; tlbia; isync" : : : "memory");
> }
> #else /* CONFIG_40x || CONFIG_8xx */
> extern void _tlbil_all(void);
> @@ -47,7 +47,7 @@ extern void _tlbil_pid(unsigned int pid);
> #ifdef CONFIG_8xx
> static inline void _tlbil_va(unsigned long address, unsigned int pid)
> {
> - asm volatile ("tlbie %0; sync" : : "r" (address) : "memory")
> + asm volatile ("tlbie %0; sync" : : "r" (address) : "memory");
> }
> #else /* CONFIG_8xx */
> extern void _tlbil_va(unsigned long address, unsigned int pid);
next parent reply other threads:[~2008-12-29 6:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200812291711.26118.rusty@fandango2.ozlabs.ibm.com>
2008-12-29 6:47 ` Benjamin Herrenschmidt [this message]
2008-12-29 13:28 ` Josh Boyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1230533237.15389.43.camel@pasglop \
--to=benh@au1.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=rusty@fandango2.ozlabs.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®