/* * Based on arch/arm/include/asm/traps.h * * Copyright (C) 2012 ARM Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #ifndef __ASM_TRAP_H #define __ASM_TRAP_H #include <linux/list.h> struct pt_regs; struct undef_hook { struct list_head node; u32 instr_mask; u32 instr_val; u64 pstate_mask; u64 pstate_val; int (*fn)(struct pt_regs *regs, u32 instr); }; void register_undef_hook(struct undef_hook *hook); void unregister_undef_hook(struct undef_hook *hook); void arm64_notify_segfault(struct pt_regs *regs, unsigned long addr); #ifdef CONFIG_FUNCTION_GRAPH_TRACER
static inline int __in_irqentry_text(unsigned long ptr) { extern char __irqentry_text_start[]; extern char __irqentry_text_end[]; return ptr >= (unsigned long)&__irqentry_text_start && ptr < (unsigned long)&__irqentry_text_end; }Contributors
| Person | Tokens | Prop | Commits | CommitProp | |
| jungseok lee | jungseok lee | 40 | 100.00% | 1 | 100.00% |
| Total | 40 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| jungseok lee | jungseok lee | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| catalin marinas | catalin marinas | 39 | 73.58% | 1 | 50.00% |
| jungseok lee | jungseok lee | 14 | 26.42% | 1 | 50.00% |
| Total | 53 | 100.00% | 2 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| jungseok lee | jungseok lee | 75 | 38.27% | 1 | 25.00% |
| punit agrawal | punit agrawal | 60 | 30.61% | 1 | 25.00% |
| catalin marinas | catalin marinas | 48 | 24.49% | 1 | 25.00% |
| andre przywara | andre przywara | 13 | 6.63% | 1 | 25.00% |
| Total | 196 | 100.00% | 4 | 100.00% |