summaryrefslogtreecommitdiff
path: root/include/linux/kmemcheck.h
blob: 39480c91b2f91c8d98b89e8f0e4dae88d4367017 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef LINUX_KMEMCHECK_H
#define LINUX_KMEMCHECK_H

#include <linux/mm_types.h>
#include <linux/types.h>

#ifdef CONFIG_KMEMCHECK
extern int kmemcheck_enabled;

int kmemcheck_show_addr(unsigned long address);
int kmemcheck_hide_addr(unsigned long address);
#else
#define kmemcheck_enabled 0

#endif /* CONFIG_KMEMCHECK */

#endif /* LINUX_KMEMCHECK_H */