aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/kmap_size.h
blob: 9d6c7786a645f86917c524912cba7a080bbd26b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_KMAP_SIZE_H
#define _ASM_GENERIC_KMAP_SIZE_H

/* For debug this provides guard pages between the maps */
#ifdef CONFIG_DEBUG_HIGHMEM
# define KM_MAX_IDX	33
#else
# define KM_MAX_IDX	16
#endif

#endif