162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_GENERIC_KMAP_SIZE_H
362306a36Sopenharmony_ci#define _ASM_GENERIC_KMAP_SIZE_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci/* For debug this provides guard pages between the maps */
662306a36Sopenharmony_ci#ifdef CONFIG_DEBUG_KMAP_LOCAL
762306a36Sopenharmony_ci# define KM_MAX_IDX	33
862306a36Sopenharmony_ci#else
962306a36Sopenharmony_ci# define KM_MAX_IDX	16
1062306a36Sopenharmony_ci#endif
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci#endif
13