|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 06/20] arm/alternative: Use _start instead of _stext
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.wilk@xxxxxxxxxx>
---
Cc: Julien Grall <julien.grall@xxxxxxx>
Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>
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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |