From 9def247a7076bcced342a9783da79f2e0b0a3f47 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Fri, 1 Jul 2011 13:00:21 +1000 Subject: powerpc: Fix build problem with default ppc_md.progress commit a9c0f41b3a64955fd6f4e9d66ae1df1cbdee0cd0 breaks the build on some platforms. The extern declaration must be shielded against assembly. Signed-off-by: Benjamin Herrenschmidt --- arch/powerpc/include/asm/setup.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch') diff --git a/arch/powerpc/include/asm/setup.h b/arch/powerpc/include/asm/setup.h index c77cb7a7f4dc..186e0fb835bd 100644 --- a/arch/powerpc/include/asm/setup.h +++ b/arch/powerpc/include/asm/setup.h @@ -3,6 +3,8 @@ #include +#ifndef __ASSEMBLY__ extern void ppc_printk_progress(char *s, unsigned short hex); +#endif #endif /* _ASM_POWERPC_SETUP_H */ -- cgit v1.2.1