]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 30 Sep 2006 09:50:05 +0000 (10:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 30 Sep 2006 09:50:05 +0000 (10:50 +0100)
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>
arch/arm/mm/mmu.c

index e566cbe4b222cd93186d6d06dd7b279fbbae4563..f866bf6b97d4f3dc810eeeaa140f9ecf2e10d965 100644 (file)
@@ -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];
 
 /*