diff options
author | Andreas Larsson <andreas@gaisler.com> | 2014-08-29 17:08:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-30 09:38:26 -0700 |
commit | a312639a66a3668d4d3335855d82967e0be0dddd (patch) | |
tree | 1390cc5f38d5bde01478f167f2b5074df8ee2bc0 /arch/sparc/lib/memscan_64.S | |
parent | b8dd329aca97726199a213ecbbbebe617db00050 (diff) |
sparc: Let memset return the address argument
[ Upstream commit 74cad25c076a2f5253312c2fe82d1a4daecc1323 ]
This makes memset follow the standard (instead of returning 0 on success). This
is needed when certain versions of gcc optimizes around memset calls and assume
that the address argument is preserved in %o0.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/sparc/lib/memscan_64.S')
0 files changed, 0 insertions, 0 deletions