Linux 4.1.18
[linux/fpc-iii.git] / arch / avr32 / include / asm / traps.h
blob6a8fb944f41405d10f6f64e754943e7361635ce0
1 /*
2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8 #ifndef __ASM_AVR32_TRAPS_H
9 #define __ASM_AVR32_TRAPS_H
11 #include <linux/list.h>
13 struct undef_hook {
14 struct list_head node;
15 u32 insn_mask;
16 u32 insn_val;
17 int (*fn)(struct pt_regs *regs, u32 insn);
20 void register_undef_hook(struct undef_hook *hook);
21 void unregister_undef_hook(struct undef_hook *hook);
23 #endif /* __ASM_AVR32_TRAPS_H */