diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-07-05 11:55:56 +0530 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-07-05 11:43:47 +0100 |
commit | 4890cc18f94979b406f95708f8cb238eb2d0e5a9 (patch) | |
tree | 9205ecaabb6714851474722b9d21b8d20d80a80b /arch/arm64/mm/cache.S | |
parent | af483947d472eccb79e42059276c4deed76f99a6 (diff) | |
download | linux-stable-4890cc18f94979b406f95708f8cb238eb2d0e5a9.tar.gz linux-stable-4890cc18f94979b406f95708f8cb238eb2d0e5a9.tar.bz2 linux-stable-4890cc18f94979b406f95708f8cb238eb2d0e5a9.zip |
arm64/mm: Define defer_reserve_crashkernel()
Crash kernel memory reservation gets deferred, when either CONFIG_ZONE_DMA
or CONFIG_ZONE_DMA32 config is enabled on the platform. This deferral also
impacts overall linear mapping creation including the crash kernel itself.
Just encapsulate this deferral check in a new helper for better clarity.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Link: https://lore.kernel.org/r/20220705062556.1845734-1-anshuman.khandual@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm/cache.S')
0 files changed, 0 insertions, 0 deletions