| From foo@baz Tue Nov 28 10:58:31 CET 2017 |
| From: Heiko Carstens <heiko.carstens@de.ibm.com> |
| Date: Tue, 20 Dec 2016 12:58:10 +0100 |
| Subject: s390/kbuild: enable modversions for symbols exported from asm |
| |
| From: Heiko Carstens <heiko.carstens@de.ibm.com> |
| |
| |
| [ Upstream commit cabab3f9f5ca077535080b3252e6168935b914af ] |
| |
| s390 version of commit 334bb7738764 ("x86/kbuild: enable modversions |
| for symbols exported from asm") so we get also rid of all these |
| warnings: |
| |
| WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "memcpy" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "memmove" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "memset" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "save_fpu_regs" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "sie64a" [vmlinux] version generation failed, symbol will not be versioned. |
| WARNING: EXPORT symbol "sie_exit" [vmlinux] version generation failed, symbol will not be versioned. |
| |
| Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> |
| Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> |
| Signed-off-by: Sasha Levin <alexander.levin@verizon.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| --- |
| arch/s390/include/asm/asm-prototypes.h | 8 ++++++++ |
| 1 file changed, 8 insertions(+) |
| create mode 100644 arch/s390/include/asm/asm-prototypes.h |
| |
| --- /dev/null |
| +++ b/arch/s390/include/asm/asm-prototypes.h |
| @@ -0,0 +1,8 @@ |
| +#ifndef _ASM_S390_PROTOTYPES_H |
| + |
| +#include <linux/kvm_host.h> |
| +#include <linux/ftrace.h> |
| +#include <asm/fpu/api.h> |
| +#include <asm-generic/asm-prototypes.h> |
| + |
| +#endif /* _ASM_S390_PROTOTYPES_H */ |