summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/mm/kmemcheck/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/mm/kmemcheck/error.h')
-rw-r--r--kernel/arch/x86/mm/kmemcheck/error.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/arch/x86/mm/kmemcheck/error.h b/kernel/arch/x86/mm/kmemcheck/error.h
new file mode 100644
index 000000000..0efc2e8d0
--- /dev/null
+++ b/kernel/arch/x86/mm/kmemcheck/error.h
@@ -0,0 +1,15 @@
+#ifndef ARCH__X86__MM__KMEMCHECK__ERROR_H
+#define ARCH__X86__MM__KMEMCHECK__ERROR_H
+
+#include <linux/ptrace.h>
+
+#include "shadow.h"
+
+void kmemcheck_error_save(enum kmemcheck_shadow state,
+ unsigned long address, unsigned int size, struct pt_regs *regs);
+
+void kmemcheck_error_save_bug(struct pt_regs *regs);
+
+void kmemcheck_error_recall(void);
+
+#endif