Skip to content
  • Linus Torvalds's avatar
    Add commentary about the new "asmlinkage_protect()" macro · d10d89ec
    Linus Torvalds authored
    
    
    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>
    d10d89ec