mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
powerpc: Fix build problem with default ppc_md.progress commit
a9c0f41b3a
breaks the build
on some platforms. The extern declaration must be shielded
against assembly.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
a9c0f41b3a
commit
9def247a70
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
#include <asm-generic/setup.h>
|
#include <asm-generic/setup.h>
|
||||||
|
|
||||||
|
#ifndef __ASSEMBLY__
|
||||||
extern void ppc_printk_progress(char *s, unsigned short hex);
|
extern void ppc_printk_progress(char *s, unsigned short hex);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _ASM_POWERPC_SETUP_H */
|
#endif /* _ASM_POWERPC_SETUP_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user