powerpc: Fix missing semicolons in mmu_decl.h

This is a brown paper bag from one of my earlier patches that
breaks build on 40x and 8xx.

And yes, I've now added 40x and 8xx to my list of test configs :-)
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent ac3f6454
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
#if defined(CONFIG_40x) || defined(CONFIG_8xx) #if defined(CONFIG_40x) || defined(CONFIG_8xx)
static inline void _tlbil_all(void) 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) 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 */ #else /* CONFIG_40x || CONFIG_8xx */
extern void _tlbil_all(void); extern void _tlbil_all(void);
...@@ -47,7 +47,7 @@ extern void _tlbil_pid(unsigned int pid); ...@@ -47,7 +47,7 @@ extern void _tlbil_pid(unsigned int pid);
#ifdef CONFIG_8xx #ifdef CONFIG_8xx
static inline void _tlbil_va(unsigned long address, unsigned int pid) 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 */ #else /* CONFIG_8xx */
extern void _tlbil_va(unsigned long address, unsigned int pid); extern void _tlbil_va(unsigned long address, unsigned int pid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment