diff options
author | Linus Torvalds | 2022-12-08 11:22:27 -0800 |
---|---|---|
committer | Linus Torvalds | 2022-12-08 11:22:27 -0800 |
commit | f3e8416619ced89abd5b1254f29d0c3904297298 (patch) | |
tree | 19df91a96c33be3c635b94cf73fce46da7a13cd9 /arch/arm | |
parent | 7f043b7662b6a9cfa981c02199ac939ed1c11372 (diff) | |
parent | da0cbf9307a227f52a38a0a580a4642ad9d7325c (diff) |
Merge tag 'soc-fixes-6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
Pull ARM SoC fix from Arnd Bergmann:
"One last build fix came in, addressing a link failure when building
without CONFIG_OUTER_CACHE"
* tag 'soc-fixes-6.1-5' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
ARM: at91: fix build for SAMA5D3 w/o L2 cache
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-at91/sama5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/sama5.c b/arch/arm/mach-at91/sama5.c index 67ed68fbe3a5..bf2b5c6a18c6 100644 --- a/arch/arm/mach-at91/sama5.c +++ b/arch/arm/mach-at91/sama5.c @@ -26,7 +26,7 @@ static void sama5_l2c310_write_sec(unsigned long val, unsigned reg) static void __init sama5_secure_cache_init(void) { sam_secure_init(); - if (sam_linux_is_optee_available()) + if (IS_ENABLED(CONFIG_OUTER_CACHE) && sam_linux_is_optee_available()) outer_cache.write_sec = sama5_l2c310_write_sec; } |