commit | 74cad25c076a2f5253312c2fe82d1a4daecc1323 | [log] [tgz] |
---|---|---|
author | Andreas Larsson <andreas@gaisler.com> | Fri Aug 29 17:08:21 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 09 16:38:10 2014 -0700 |
tree | dbf521e559c8e31c91c08f33e6eb3ca65f9d9a24 | |
parent | 408316258521168614bfb4da0e070490d3e65a17 [diff] |
sparc: Let memset return the address argument 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>