mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
18 lines
355 B
C
18 lines
355 B
C
![]() |
#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 */
|