提交 6ae5a6ef 编写于 作者: R Russell King 提交者: Russell King

[ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c

XIP kernels need to know the start/end of text, but we were
missing the declaration of _etext in mmu.c.  Add it.
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 e0af79cd
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
DEFINE_PER_CPU(struct mmu_gather, mmu_gathers); DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
extern void _stext, __data_start, _end; extern void _stext, _etext, __data_start, _end;
extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册