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:40:19 -0700 |
commit | a068a292f5c1fb7ca0a914342c7403406827a856 (patch) | |
tree | 9dacafdd0d0d3d426f7c1c513eb5721570a88b49 /arch/sparc/net/bpf_jit_comp.c | |
parent | 200fe7a70417e5952f961a49779583b49509de24 (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/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions