Преглед на файлове

[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: Russell King <rmk+kernel@arm.linux.org.uk>
Russell King преди 18 години
родител
ревизия
6ae5a6ef03
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      arch/arm/mm/mmu.c

+ 1 - 1
arch/arm/mm/mmu.c

@@ -27,7 +27,7 @@
 
 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];
 
 /*