Skip to content

Commit

Permalink
[ARM] Fix XIP_KERNEL build error in arch/arm/mm/mmu.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King authored and Russell King committed Sep 30, 2006
1 parent e0af79c commit 6ae5a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];

/*
Expand Down

0 comments on commit 6ae5a6e

Please sign in to comment.