]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Add commentary about the new "asmlinkage_protect()" macro
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Apr 2008 00:35:23 +0000 (17:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Apr 2008 00:35:23 +0000 (17:35 -0700)
commitd10d89ec78114f925f63c5126a2b2490f501a462
tree16b617325619c841ec1de6fe11b3f8f8f92fdd04
parent598af051a79d05b751fe793f1fe09fcf74763e02
Add commentary about the new "asmlinkage_protect()" macro

It's really a pretty ugly thing to need, and some day it will hopefully
be obviated by teaching gcc about the magic calling conventions for the
low-level system call code, but in the meantime we can at least add big
honking comments about why we need these insane and strange macros.

I took my comments from my version of the macro, but I ended up deciding
to just pick Roland's version of the actual code instead (with his
prettier syntax that uses vararg macros).  Thus the previous two commits
that actually implement it.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/linkage.h
include/linux/linkage.h