Re: [PATCH] sparc: Let memset return the address argument

2014-09-09 Thread David Miller
From: Andreas Larsson Date: Fri, 29 Aug 2014 17:08:21 +0200 > 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

[PATCH] sparc: Let memset return the address argument

2014-08-29 Thread Andreas Larsson
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 --- arch/sparc/lib/memset.S | 18 ++ 1 f