unsigned long sp = (unsigned long)_sp;
// unsigned long sp = (unsigned long)*_sp;
+// The S390_lowcore macro removed in kernel commit 39976f1278a9
+#ifdef S390_lowcore
sp = __stp_show_stack(sp,
S390_lowcore.async_stack - ASYNC_SIZE,
S390_lowcore.async_stack, verbose);
+#else
+ sp = __stp_show_stack(sp,
+ get_lowcore()->async_stack - ASYNC_SIZE,
+ get_lowcore()->async_stack, verbose);
+#endif
#ifdef CONFIG_THREAD_INFO_IN_TASK
/* FIXME: Note that this CONFIG_THREAD_INFO_IN_TASK
(((unsigned long)current->stack)
+ THREAD_SIZE), verbose);
#else
+// The S390_lowcore macro removed in kernel commit 39976f1278a9
+#ifdef S390_lowcore
__stp_show_stack(sp,
S390_lowcore.thread_info,
S390_lowcore.thread_info + THREAD_SIZE, verbose);
+#else
+ __stp_show_stack(sp,
+ get_lowcore()->thread_info,
+ get_lowcore()->thread_info + THREAD_SIZE, verbose);
+#endif
#endif
}