[PATCH] remove SPINLINE config option

Anton Blanchard anton at samba.org
Fri Sep 10 19:04:58 EST 2004


After the spinlock rework, CONFIG_SPINLINE doesnt work and causes a
compile error. Remove it for now.

Anton

Signed-off-by: Anton Blanchard <anton at samba.org>

diff -puN arch/ppc64/lib/locks.c~remove_spinline arch/ppc64/lib/locks.c
--- foobar2/arch/ppc64/lib/locks.c~remove_spinline	2004-09-10 18:10:07.925966698 +1000
+++ foobar2-anton/arch/ppc64/lib/locks.c	2004-09-10 18:10:23.249023185 +1000
@@ -20,8 +20,6 @@
 #include <asm/hvcall.h>
 #include <asm/iSeries/HvCall.h>
 
-#ifndef CONFIG_SPINLINE
-
 /* waiting for a spinlock... */
 #if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES)
 
@@ -95,5 +93,3 @@ void spin_unlock_wait(spinlock_t *lock)
 }
 
 EXPORT_SYMBOL(spin_unlock_wait);
-
-#endif /* CONFIG_SPINLINE */
diff -puN ./arch/ppc64/Kconfig.debug~remove_spinline ./arch/ppc64/Kconfig.debug
--- foobar2/./arch/ppc64/Kconfig.debug~remove_spinline	2004-09-10 18:10:33.861789115 +1000
+++ foobar2-anton/./arch/ppc64/Kconfig.debug	2004-09-10 18:10:42.108471315 +1000
@@ -44,16 +44,6 @@ config IRQSTACKS
 	  for handling hard and soft interrupts.  This can help avoid
 	  overflowing the process kernel stacks.
 
-config SPINLINE
-	bool "Inline spinlock code at each call site"
-	depends on SMP && !PPC_SPLPAR && !PPC_ISERIES
-	help
-	  Say Y if you want to have the code for acquiring spinlocks
-	  and rwlocks inlined at each call site.  This makes the kernel
-	  somewhat bigger, but can be useful when profiling the kernel.
-
-	  If in doubt, say N.
-
 config SCHEDSTATS
 	bool "Collect scheduler statistics"
 	depends on DEBUG_KERNEL && PROC_FS
_



More information about the Linuxppc64-dev mailing list