arch/armv7-[a|r]: Don't define fiq stack if CONFIG_ARMV7A_DECODEFIQ=n

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-17 23:34:55 +08:00 committed by Masayuki Ishikawa
parent c6f3ad3da5
commit 4fab2b9501
2 changed files with 4 additions and 0 deletions

View File

@ -753,6 +753,7 @@ g_intstacktop:
* Name: g_fiqstackalloc/g_fiqstacktop * Name: g_fiqstackalloc/g_fiqstacktop
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_ARMV7A_DECODEFIQ
.globl g_fiqstackalloc .globl g_fiqstackalloc
.type g_fiqstackalloc, object .type g_fiqstackalloc, object
.globl g_fiqstacktop .globl g_fiqstacktop
@ -763,6 +764,7 @@ g_fiqstackalloc:
g_fiqstacktop: g_fiqstacktop:
.size g_fiqstacktop, 0 .size g_fiqstacktop, 0
.size g_fiqstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7) .size g_fiqstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7)
#endif
#endif /* !CONFIG_SMP && CONFIG_ARCH_INTERRUPTSTACK > 7 */ #endif /* !CONFIG_SMP && CONFIG_ARCH_INTERRUPTSTACK > 7 */
.end .end

View File

@ -707,6 +707,7 @@ g_intstacktop:
* Name: g_fiqstackalloc/g_fiqstacktop * Name: g_fiqstackalloc/g_fiqstacktop
****************************************************************************/ ****************************************************************************/
#ifdef CONFIG_ARMV7A_DECODEFIQ
.globl g_fiqstackalloc .globl g_fiqstackalloc
.type g_fiqstackalloc, object .type g_fiqstackalloc, object
.globl g_fiqstacktop .globl g_fiqstacktop
@ -717,6 +718,7 @@ g_fiqstackalloc:
g_fiqstacktop: g_fiqstacktop:
.size g_fiqstacktop, 0 .size g_fiqstacktop, 0
.size g_fiqstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7) .size g_fiqstackalloc, (CONFIG_ARCH_INTERRUPTSTACK & ~7)
#endif
#endif /* CONFIG_ARCH_INTERRUPTSTACK > 7 */ #endif /* CONFIG_ARCH_INTERRUPTSTACK > 7 */
.end .end