ext2: disallow setting xip on remount
[linux-2.6/mini2440.git] / include / asm-avr32 / kprobes.h
blob190a6377c80969f7b5ef5313457b42fec539a99d
1 /*
2 * Kernel Probes (KProbes)
4 * Copyright (C) 2005-2006 Atmel Corporation
5 * Copyright (C) IBM Corporation, 2002, 2004
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef __ASM_AVR32_KPROBES_H
12 #define __ASM_AVR32_KPROBES_H
14 #include <linux/types.h>
16 typedef u16 kprobe_opcode_t;
17 #define BREAKPOINT_INSTRUCTION 0xd673 /* breakpoint */
18 #define MAX_INSN_SIZE 2
20 #define ARCH_INACTIVE_KPROBE_COUNT 1
22 #define arch_remove_kprobe(p) do { } while (0)
24 /* Architecture specific copy of original instruction */
25 struct arch_specific_insn {
26 kprobe_opcode_t insn[MAX_INSN_SIZE];
29 extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr);
30 extern int kprobe_exceptions_notify(struct notifier_block *self,
31 unsigned long val, void *data);
33 #define flush_insn_slot(p) do { } while (0)
35 #endif /* __ASM_AVR32_KPROBES_H */