1
Author: Helge Deller <deller@gmx.de>
2
Description: Fix build error in HPPA, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751805
4
diff --git a/storage/xtradb/os/os0stacktrace.c b/storage/xtradb/os/os0stacktrace.c
5
index f7fb121..18b90ea 100644
6
--- a/storage/xtradb/os/os0stacktrace.c
7
+++ b/storage/xtradb/os/os0stacktrace.c
8
@@ -85,7 +85,7 @@ os_stacktrace_print(
9
caller_address = (void*) uc->uc_mcontext.gregs[REG_RIP] ;
10
#elif defined(__hppa__)
11
ucontext_t* uc = (ucontext_t*) ucontext;
12
- caller_address = (void*) uc->uc_mcontext.sc_iaoq[0] & ~0x3UL ;
13
+ caller_address = (void*) (uc->uc_mcontext.sc_iaoq[0] & ~0x3UL);
14
#elif (defined (__ppc__)) || (defined (__powerpc__))
15
ucontext_t* uc = (ucontext_t*) ucontext;
16
caller_address = (void*) uc->uc_mcontext.regs->nip ;