]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/kmemcheck.h
kmemcheck: add the kmemcheck core
[mirror_ubuntu-bionic-kernel.git] / include / linux / kmemcheck.h
CommitLineData
dfec072e
VN
1#ifndef LINUX_KMEMCHECK_H
2#define LINUX_KMEMCHECK_H
3
4#include <linux/mm_types.h>
5#include <linux/types.h>
6
7#ifdef CONFIG_KMEMCHECK
8extern int kmemcheck_enabled;
9
10int kmemcheck_show_addr(unsigned long address);
11int kmemcheck_hide_addr(unsigned long address);
12#else
13#define kmemcheck_enabled 0
14
15#endif /* CONFIG_KMEMCHECK */
16
17#endif /* LINUX_KMEMCHECK_H */