The code uses a mix of _start, _stext, and _etext. Lets unify it and use the same 'style'.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Julien Grall <julien.gr...@arm.com> Cc: Stefano Stabellini <sstabell...@kernel.org> v2: First submission --- xen/arch/arm/alternative.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/alternative.c b/xen/arch/arm/alternative.c index 90a857a..ed84170 100644 --- a/xen/arch/arm/alternative.c +++ b/xen/arch/arm/alternative.c @@ -95,7 +95,7 @@ static int __apply_alternatives(const struct alt_region *region) const struct alt_instr *alt; const u32 *origptr, *replptr; u32 *writeptr, *writemap = NULL; - mfn_t text_mfn = _mfn(virt_to_mfn(_stext)); + mfn_t text_mfn = _mfn(virt_to_mfn(_start)); unsigned int text_order = get_order_from_bytes(_end - _start); if ( region->begin >= __alt_instructions && -- 2.4.11 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel