A litte thing I noticed and wonder about. I looked at error_code in
arch/i386/kernel/entry.S. And this is how it starts (in 2.6.7):
xorl %eax, %eax
decl %eax # eax = -1
My question is why the 'decl %eax' is 4 lines after the clearing of eax 'xorl
%eax %eax'. Can't it just be put right after xorl?
Of course you can put it anywhere you want, but I wonder if there is a
particular reason to put it there, or is just some personal taste?
Kernelnewbies: Help each other learn about the Linux kernel.