sparc32: removed unused code, implemented by generic code
PATCH 1/1 sparc32: removed unused code, implemented by generic code
--- arch/sparc/lib/Makefile | 1 - arch/sparc/lib/rwsem_32.S | 224 --------------------------------------------- 2 files changed, 0 insertions(+), 225 deletions(-) delete mode 100644 arch/sparc/lib/rwsem_32.S
arch/sparc/lib/Makefile +0 -1
@@ -15,7 +15,6 @@ lib-$(CONFIG_SPARC32) += divdi3.o udivdi3.o lib-$(CONFIG_SPARC32) += copy_user.o locks.o lib-y += atomic_$(BITS).o lib-$(CONFIG_SPARC32) += lshrdi3.o ashldi3.o -lib-$(CONFIG_SPARC32) += rwsem_32.o lib-$(CONFIG_SPARC32) += muldi3.o bitext.o cmpdi2.o lib-$(CONFIG_SPARC64) += copy_page.o clear_page.o bzero.o
arch/sparc/lib/rwsem_32.S deleted +0 -224
224 lines not on this page · raw message
Signature · 1 line
1.5.4
David Miller
maintainerRe: [PATCH] sparc32: removed unused code, implemented by generic
From: Daniel Hellstrom <[email protected]>
Date: Thu, 21 Apr 2011 16:21:39 +0200
Quoted 1 line
Signed-off-by Daniel Hellstrom <[email protected]>
I had to do the rwsem_32.S removal by hand because:
arch/sparc/lib/rwsem_32.S line 30
Quoted 7 lines
arch/sparc/lib/rwsem_32.S deleted +0
-7-#ifdef CONFIG_SMP -#if !(defined(CONFIG_SPARC_LEON) && defined(CONFIG_SMP)) -1: ldstub [%g1 + 4], %g7 -#else -1: set 4, %g7 - ldstuba [%g1 + %g7] 1, %g7 /* ASI_LEON23_DCACHE_MISS */ -#endif
these leon hacks are not in any of my trees.
But otherwise applied, thanks.
Re: [PATCH] sparc32: removed unused code, implemented by
In reply to Daniel HellstromOn Thu, 21 Apr 2011 16:47:01 -0700 (PDT), David Miller wrote:
From: Daniel Hellstrom <[email protected]>
Quoted 16 lines
Date: Thu, 21 Apr 2011 16:21:39 +0200
Quoted 1 line
Signed-off-by Daniel Hellstrom <[email protected]>I had to do the
rwsem_32.Sremoval by hand because:arch/sparc/lib/rwsem_32.S line 30
Quoted 7 lines
arch/sparc/lib/rwsem_32.S deleted +0
-7-#ifdef CONFIG_SMP -#if !(defined(CONFIG_SPARC_LEON) && defined(CONFIG_SMP)) -1: ldstub [%g1 + 4], %g7 -#else -1: set 4, %g7 - ldstuba [%g1 + %g7] 1, %g7 /* ASI_LEON23_DCACHE_MISS */ -#endifthese leon hacks are not in any of my trees.
Quoted 1 line
But otherwise applied, thanks.
Yeah, these are ugly LEON hacks not part of the kernel.. Thanks for applying the patches.
Daniel