diff options
author | Guo Ren <guoren@linux.alibaba.com> | 2022-07-05 14:00:15 +0800 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2022-07-22 21:36:14 -0400 |
commit | f54af50d7b6f9ddb54df422156864cfc59e32f8c (patch) | |
tree | 7737eae75c6cd4354167461ce819226c70faec01 /arch/csky/include/asm/sections.h | |
parent | 49a1a3cf7316e464e559850a965f3826b1562458 (diff) |
csky: Correct position of _stext
Correct position of _stext to prevent check_kernel_text_object
warning [1].
[1] https://lore.kernel.org/linux-csky/YfLpNkmlvoR8iPcq@ls3530/
Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Guo Ren <guoren@kernel.org>
Cc: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/csky/include/asm/sections.h')
-rw-r--r-- | arch/csky/include/asm/sections.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/csky/include/asm/sections.h b/arch/csky/include/asm/sections.h new file mode 100644 index 000000000000..4192cba8445d --- /dev/null +++ b/arch/csky/include/asm/sections.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_SECTIONS_H +#define __ASM_SECTIONS_H + +#include <asm-generic/sections.h> + +extern char _start[]; + +#endif /* __ASM_SECTIONS_H */ |