3 ms·
There's several macros in the kernel which contain inline assembly, and you can't use code written in assembly because it would require using the stack to call
by cyphar 11y ago
There's several macros in the kernel which contain inline assembly, and you can't use code written in assembly because it would require using the stack to call the function (the case I'm thinking of is the switch_to macro which switches between tasks in the kernel).