summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/x86/mpx-mm.h
blob: 6dbdd66b824240dd5191af4d4266539fef674a46 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _MPX_MM_H
#define _MPX_MM_H

#define PAGE_SIZE 4096
#define MB (1UL<<20)

extern long nr_incore(void *ptr, unsigned long size_bytes);

#endif /* _MPX_MM_H */