We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b7b275e + 6a3fc8c commit da0cbf9Copy full SHA for da0cbf9
arch/arm/mach-at91/sama5.c
@@ -26,7 +26,7 @@ static void sama5_l2c310_write_sec(unsigned long val, unsigned reg)
26
static void __init sama5_secure_cache_init(void)
27
{
28
sam_secure_init();
29
- if (sam_linux_is_optee_available())
+ if (IS_ENABLED(CONFIG_OUTER_CACHE) && sam_linux_is_optee_available())
30
outer_cache.write_sec = sama5_l2c310_write_sec;
31
}
32
0 commit comments