Question about the linux switch_to macro parameters
武广阔
wuguangkuo at 126.com
Thu Apr 22 02:33:13 EDT 2021
I read the source code in kernel(kernel/sched.c):
(include/asm-i386/system.h)
My question is that: switch_to is defined as a macro, so I thoutht it will expand "=a" (last) as "=a" (prev), if that the last parameter is just for easy to read, is that right?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210422/ba84dd2f/attachment.html>
More information about the Kernelnewbies
mailing list