Merge tag 'mm-hotfixes-stable-2023-05-03-16-27' of git://git.kernel.org/pub/scm/linux...
[linux-block.git] / include / asm-generic / kmap_size.h
CommitLineData
4f8b96cd
TG
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _ASM_GENERIC_KMAP_SIZE_H
3#define _ASM_GENERIC_KMAP_SIZE_H
4
5/* For debug this provides guard pages between the maps */
6e799cb6 6#ifdef CONFIG_DEBUG_KMAP_LOCAL
4f8b96cd
TG
7# define KM_MAX_IDX 33
8#else
9# define KM_MAX_IDX 16
10#endif
11
12#endif