Messages in this thread | | | Date | Wed, 9 Dec 2009 11:08:41 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [GIT PULL] x86/paravirt for v2.6.33 |
| |
On Wed, 9 Dec 2009, H. Peter Anvin wrote: > > The second argument is in %edx, but unlike 64 bits, it is not loaded > into that register a priory ("asmlinkage" means arguments are on the stack.)
Oh, I missed the fact that we don't actually use asmlinkage on sys_iopl() at all on x86-32 for this very reason.
And on x86-64, I think asmlinkage is a no-op, so that's ok - we should just make the prototype be
long sys_iopl(long level, struct pt_regs *regs);
and your fancier macros.
Linus
| |