void-packages/srcpkgs/sun7i-kernel/patches/0002-return_address.patch
2020-02-19 19:02:01 +01:00

16 lines
489 B
Diff

The function is defined in the source, so don't inline it in the header.
--- linux-sunxi-d47d367036be38c5180632ec8a3ad169a4593a88/arch/arm/include/asm/ftrace.h 2014-10-22 23:53:32.000000000 +0200
+++ linux-sunxi-d47d367036be38c5180632ec8a3ad169a4593a88/arch/arm/include/asm/ftrace.h 2016-12-11 22:57:55.065090536 +0100
@@ -45,10 +45,7 @@
#else
-extern inline void *return_address(unsigned int level)
-{
- return NULL;
-}
+extern void *return_address(unsigned int level);
#endif