diff options
author | David S. Miller <davem@davemloft.net> | 2016-08-16 00:47:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-24 21:31:58 +0300 |
commit | 83a17d2661674d8c198adc0e183418f72aabab79 (patch) | |
tree | dfda84fcce63b99268c872b9264e302e4dc8f13c /arch/sparc/lib/NGcopy_to_user.S | |
parent | aa95ce361ed95c72ac42dcb315166bce5cf1a014 (diff) | |
download | linux-83a17d2661674d8c198adc0e183418f72aabab79.tar.xz |
sparc64: Prepare to move to more saner user copy exception handling.
The fixup helper function mechanism for handling user copy fault
handling is not %100 accurrate, and can never be made so.
We are going to transition the code to return the running return
return length, which is always kept track in one or more registers
of each of these routines.
In order to convert them one by one, we have to allow the existing
behavior to continue functioning.
Therefore make all the copy code that wants the fixup helper to be
used return negative one.
After all of the user copy routines have been converted, this logic
and the fixup helpers themselves can be removed completely.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/NGcopy_to_user.S')
-rw-r--r-- | arch/sparc/lib/NGcopy_to_user.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/NGcopy_to_user.S b/arch/sparc/lib/NGcopy_to_user.S index ff630dcb273c..2d6b33d3998f 100644 --- a/arch/sparc/lib/NGcopy_to_user.S +++ b/arch/sparc/lib/NGcopy_to_user.S @@ -7,7 +7,7 @@ 98: x; \ .section __ex_table,"a";\ .align 4; \ - .word 98b, __ret_one_asi;\ + .word 98b, __ret_mone_asi;\ .text; \ .align 4; |