Skip to content
Commit d10d89ec authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 598af051
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment