summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2020-04-01 13:23:14 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-04-01 13:23:14 -0700
commit890f0b0d27dc400679b9a91d04ca44f5ee4c19c0 (patch)
tree898dde3e925c815c287b88fefb3d9320a583235a /crypto
parent7da63b3d54aa7f1ad4b33a50d88edd623f29fded (diff)
downloadlinux-890f0b0d27dc400679b9a91d04ca44f5ee4c19c0.tar.gz
x86: start using named parameters for low-level uaccess asms
This is partly for readability - using named arguments instead of
numbered ones makes it muchmore obvious just what is going on.  Using
"%[efault]" instead of "%4" for the special -EFAULT constant just means
that you don't have to count the arguments to see what's up.

But the motivation for all this cleanup is that when we'll start to
conditionally use "asm goto" even for the __get_user_asm() case, the
argument numbers will depend on whether we have an error output, or an
error label we can just directly jump to.

So this moves us towards named arguments for the same reason that we
have to use named arguments for the asms that use SET_CC(): numbering
will eventually become similarly unreliable and depends on whether we
can use particular compiler features or not.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions