summaryrefslogtreecommitdiff
path: root/arch/s390/lib/Makefile
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2019-10-17 16:09:08 +0300
committerVasily Gorbik <gor@linux.ibm.com>2019-11-30 12:52:46 +0300
commitbadbf39790798283f2424828e7b7bec3962f1e02 (patch)
tree4d45c04e16e76ca19b8e73363a3b51ab9ac35eb3 /arch/s390/lib/Makefile
parentadcfb8cdc910bdd0b5d52d2ba88103af93dc43d3 (diff)
downloadlinux-badbf39790798283f2424828e7b7bec3962f1e02.tar.xz
s390/unwind: add a test for the internal API
unwind_for_each_frame can take at least 8 different sets of parameters. Add a test to make sure they all are handled in a sane way. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Co-developed-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/lib/Makefile')
-rw-r--r--arch/s390/lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/lib/Makefile b/arch/s390/lib/Makefile
index d7c218e8b559..28fd66d558ff 100644
--- a/arch/s390/lib/Makefile
+++ b/arch/s390/lib/Makefile
@@ -11,3 +11,6 @@ lib-$(CONFIG_UPROBES) += probes.o
# Instrumenting memory accesses to __user data (in different address space)
# produce false positives
KASAN_SANITIZE_uaccess.o := n
+
+obj-$(CONFIG_S390_UNWIND_SELFTEST) += test_unwind.o
+CFLAGS_test_unwind.o += -fno-optimize-sibling-calls