riscv: Check if the code to patch lies in the exit section
[platform/kernel/linux-starfive.git] / arch / riscv / include / asm / sections.h
index 32336e8..a393d50 100644 (file)
@@ -13,6 +13,7 @@ extern char _start_kernel[];
 extern char __init_data_begin[], __init_data_end[];
 extern char __init_text_begin[], __init_text_end[];
 extern char __alt_start[], __alt_end[];
+extern char __exittext_begin[], __exittext_end[];
 
 static inline bool is_va_kernel_text(uintptr_t va)
 {