[1/2] nds32: linker script: add SOFTIRQENTRY_TEXT
diff mbox series

Message ID 20200311121002.241430-1-glider@google.com
State In Next
Commit 3209397f6c8076226a6cfd9a312d7efe9b271aaf
Headers show
Series
  • [1/2] nds32: linker script: add SOFTIRQENTRY_TEXT
Related show

Commit Message

Alexander Potapenko March 11, 2020, 12:10 p.m. UTC
This section is required for lib/stackdepot.c to link, as
filter_irq_stacks() accesses __softirqentry_text_start and
__softirqentry_text_end.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Alexander Potapenko <glider@google.com>
---
 arch/nds32/kernel/vmlinux.lds.S | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/arch/nds32/kernel/vmlinux.lds.S b/arch/nds32/kernel/vmlinux.lds.S
index f679d33974366..7a6c1cefe3fe5 100644
--- a/arch/nds32/kernel/vmlinux.lds.S
+++ b/arch/nds32/kernel/vmlinux.lds.S
@@ -47,6 +47,7 @@  SECTIONS
 		LOCK_TEXT
 		KPROBES_TEXT
 		IRQENTRY_TEXT
+		SOFTIRQENTRY_TEXT
 		*(.fixup)
 	}