diff options
Diffstat (limited to 'runtime/regs-ia64.c')
-rw-r--r-- | runtime/regs-ia64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/regs-ia64.c b/runtime/regs-ia64.c index 50bf17d7..2a5a1d17 100644 --- a/runtime/regs-ia64.c +++ b/runtime/regs-ia64.c @@ -39,6 +39,9 @@ static long ia64_fetch_register(int regno, struct pt_regs *pt_regs) { struct ia64_stap_get_arbsp_param pa; + if (regno == 12) + return pt_regs->r12; + if (regno >= 8 && regno <= 11) return *(unsigned long *)(&pt_regs->r8 + regno - 8); else if (regno < 32 || regno > 127) |