summaryrefslogtreecommitdiffstats
path: root/runtime/regs.c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/regs.c')
-rw-r--r--runtime/regs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/regs.c b/runtime/regs.c
index 5821f7e7..81b865b1 100644
--- a/runtime/regs.c
+++ b/runtime/regs.c
@@ -256,6 +256,13 @@ void _stp_print_regs(struct pt_regs * regs)
#elif defined (__powerpc64__)
+static int _stp_probing_32bit_app(struct pt_regs *regs)
+{
+ if (!regs)
+ return 0;
+ return (user_mode(regs) && test_tsk_thread_flag(current, TIF_32BIT));
+}
+
void _stp_print_regs(struct pt_regs * regs)
{
int i;