summaryrefslogtreecommitdiffstats
path: root/arch/x86/mm/kmemcheck/opcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/mm/kmemcheck/opcode.h')
-rw-r--r--arch/x86/mm/kmemcheck/opcode.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/mm/kmemcheck/opcode.h b/arch/x86/mm/kmemcheck/opcode.h
new file mode 100644
index 00000000000..6956aad66b5
--- /dev/null
+++ b/arch/x86/mm/kmemcheck/opcode.h
@@ -0,0 +1,9 @@
+#ifndef ARCH__X86__MM__KMEMCHECK__OPCODE_H
+#define ARCH__X86__MM__KMEMCHECK__OPCODE_H
+
+#include <linux/types.h>
+
+void kmemcheck_opcode_decode(const uint8_t *op, unsigned int *size);
+const uint8_t *kmemcheck_opcode_get_primary(const uint8_t *op);
+
+#endif