Skip to content

Commit 0078e94

Browse files
committed
LoongArch: Rename GCC_PLUGIN_STACKLEAK to KSTACK_ERASE
Commit 57fbad1 ("stackleak: Rename STACKLEAK to KSTACK_ERASE") misses the stackframe.h part for LoongArch, so fix it. Fixes: 57fbad1 ("stackleak: Rename STACKLEAK to KSTACK_ERASE") Signed-off-by: Huacai Chen <[email protected]>
1 parent 112ca94 commit 0078e94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch/include/asm/stackframe.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
.endm
5959

6060
.macro STACKLEAK_ERASE
61-
#ifdef CONFIG_GCC_PLUGIN_STACKLEAK
61+
#ifdef CONFIG_KSTACK_ERASE
6262
bl stackleak_erase_on_task_stack
6363
#endif
6464
.endm

0 commit comments

Comments
 (0)