#include #include "../../util/unwind-libdw.h" #include "../../util/perf_regs.h" bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg) { struct unwind_info *ui = arg; struct regs_dump *user_regs = &ui->sample->user_regs; Dwarf_Word dwarf_regs[PERF_REG_ARM_MAX]; #define REG(r) ({ \ Dwarf_Word val = 0; \ perf_reg_value(&val, user_regs, PERF_REG_ARM_##r); \ val; \ }) dwarf_regs[0] = REG(R0); dwarf_regs[1] = REG(R1); dwarf_regs[2] = REG(R2); dwarf_regs[3] = REG(R3); dwarf_regs[4] = REG(R4); dwarf_regs[5] = REG(R5); dwarf_regs[6] = REG(R6); dwarf_regs[7] = REG(R7); dwarf_regs[8] = REG(R8); dwarf_regs[9] = REG(R9); dwarf_regs[10] = REG(R10); dwarf_regs[11] = REG(FP); dwarf_regs[12] = REG(IP); dwarf_regs[13] = REG(SP); dwarf_regs[14] = REG(LR); dwarf_regs[15] = REG(PC); return dwfl_thread_state_registers(thread, 0, PERF_REG_ARM_MAX, dwarf_regs); } d='get'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/rxrpc/key.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:47:48 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2017-01-22 12:47:48 -0800
commit095cbe66973771fecd8e8b1e8763181363ef703e (patch)
treec361a93d62ed171ac958deb0d4ff0faa980bb290 /net/rxrpc/key.c
parent24b86839fab8e8059d2b16e0067dc86a1a0d3514 (diff)
parent020eb3daaba2857b32c4cf4c82f503d6a00a67de (diff)
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Thomas Gleixner: "Restore the retrigger callbacks in the IO APIC irq chips. That addresses a long standing regression which got introduced with the rewrite of the x86 irq subsystem two years ago and went unnoticed so far" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/ioapic: Restore IO-APIC irq_chip retrigger callback
Diffstat (limited to 'net/rxrpc/key.c')