Release 4.14 arch/x86/include/asm/irq_regs.h
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Per-cpu current frame pointer - the location of the last exception frame on
* the stack, stored in the per-cpu area.
*
* Jeremy Fitzhardinge <jeremy@goop.org>
*/
#ifndef _ASM_X86_IRQ_REGS_H
#define _ASM_X86_IRQ_REGS_H
#include <asm/percpu.h>
#define ARCH_HAS_OWN_IRQ_REGS
DECLARE_PER_CPU(struct pt_regs *, irq_regs);
static inline struct pt_regs *get_irq_regs(void)
{
return this_cpu_read(irq_regs);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Brian Gerst | 16 | 94.12% | 1 | 50.00% |
Alex Shi | 1 | 5.88% | 1 | 50.00% |
Total | 17 | 100.00% | 2 | 100.00% |
static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs)
{
struct pt_regs *old_regs;
old_regs = get_irq_regs();
this_cpu_write(irq_regs, new_regs);
return old_regs;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Brian Gerst | 33 | 97.06% | 1 | 50.00% |
Alex Shi | 1 | 2.94% | 1 | 50.00% |
Total | 34 | 100.00% | 2 | 100.00% |
#endif /* _ASM_X86_IRQ_REGS_32_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Brian Gerst | 70 | 90.91% | 1 | 25.00% |
Thomas Gleixner | 4 | 5.19% | 1 | 25.00% |
Alex Shi | 2 | 2.60% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 1.30% | 1 | 25.00% |
Total | 77 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.