On Mon, Apr 19, 2021 at 08:26:36AM -0700, Sami Tolvanen wrote: > On Sat, Apr 17, 2021 at 4:37 AM Peter Zijlstra <pet...@infradead.org> wrote:
> > The problem is that the call-site does not respect the regular calling > > convention, so calling a regular C function is just asking for trouble, > > which is why it ended up being asm, then we fully control the calling > > convention. > > Ack. The problem here is that we can't declare an extern static > function in C. How would you feel about making int3_magic a global > instead to match the C declaration? Works for me.