summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/mm/kmemcheck/error.h
blob: 0efc2e8d0a201cea71169667006b6bb43af2feb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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