On 20.02.2023 12:51, Ross Lagerwall wrote: >> --- a/xen/arch/x86/clear_page.S >> +++ b/xen/arch/x86/clear_page.S >> @@ -16,3 +16,6 @@ ENTRY(clear_page_sse2) >> >> sfence >> ret >> + >> + .type clear_page_sse2, @function >> + .size clear_page_sse2, . - clear_page_sse2 > > Would it be worth wrapping this pattern in a macro?
Funny you should ask this: Yes, certainly, but we can't quite agree what shape that macro (or really set of macros) is to take. Hence we did agree on this minimalistic approach as an intermediate solution. Jan