Message ID | 3518814.5oq8zhvvpL@wuerfel (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/arm/include/asm/asm-prototypes.h b/arch/arm/include/asm/asm-prototypes.h index 04e5616a7b15..e46b09536b14 100644 --- a/arch/arm/include/asm/asm-prototypes.h +++ b/arch/arm/include/asm/asm-prototypes.h @@ -32,3 +32,8 @@ extern void __muldi3(void); extern void __ucmpdi2(void); extern void __udivsi3(void); extern void __umodsi3(void); + +#ifdef __GENKSYMS__ +extern void mmioset(void *, unsigned int, size_t); +extern void mmiocpy(void *, const void *, size_t); +#endif
The prototypes for mmioset/mmiocpy are intentionally hidden inside of inline functions, which breaks the EXPORT_SYMBOL statements when symbol versioning is enabled. This adds a prototype to asm/asm-prototypes.h but hides it in an #ifdef so normal drivers don't see it and won't be able to abuse the interface. Suggested-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html