With this architecures which want to support data_abort_mask() in PBL can select ARCH_HAS_DATA_ABORT_MASK_PBL.
Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de> --- arch/Kconfig | 3 +++ include/abort.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/Kconfig b/arch/Kconfig index 446c4b8fd9605cdd84e66514570a2088b0885ff7..919c8cfebab51d1d2623c82360a30cf5173ffe78 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -68,6 +68,9 @@ config ARCH_HAS_STACK_DUMP config ARCH_HAS_DATA_ABORT_MASK bool +config ARCH_HAS_DATA_ABORT_MASK_PBL + bool + config ARCH_HAS_ZERO_PAGE bool diff --git a/include/abort.h b/include/abort.h index 95db1b54d6d9f361c9607c6a8ea1f96b4c5f18d0..c623a4c510414c9e92f21e911473bbe8565cace5 100644 --- a/include/abort.h +++ b/include/abort.h @@ -2,7 +2,8 @@ #ifndef __ABORT_H #define __ABORT_H -#if defined CONFIG_ARCH_HAS_DATA_ABORT_MASK && IN_PROPER +#if (defined CONFIG_ARCH_HAS_DATA_ABORT_MASK && IN_PROPER) || \ + (defined CONFIG_ARCH_HAS_DATA_ABORT_MASK_PBL && IN_PBL) /* * data_abort_mask - ignore data aborts -- 2.39.5