Commit a4c66721 authored by Anton Blanchard's avatar Anton Blanchard Committed by Linus Torvalds

[PATCH] ppc64: remove SPINLINE config option

After the spinlock rework, CONFIG_SPINLINE doesnt work and causes a compile
error.  Remove it for now.
Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 40ab0a16
...@@ -44,16 +44,6 @@ config IRQSTACKS ...@@ -44,16 +44,6 @@ config IRQSTACKS
for handling hard and soft interrupts. This can help avoid for handling hard and soft interrupts. This can help avoid
overflowing the process kernel stacks. 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 config SCHEDSTATS
bool "Collect scheduler statistics" bool "Collect scheduler statistics"
depends on DEBUG_KERNEL && PROC_FS depends on DEBUG_KERNEL && PROC_FS
......
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#include <asm/hvcall.h> #include <asm/hvcall.h>
#include <asm/iSeries/HvCall.h> #include <asm/iSeries/HvCall.h>
#ifndef CONFIG_SPINLINE
/* waiting for a spinlock... */ /* waiting for a spinlock... */
#if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES) #if defined(CONFIG_PPC_SPLPAR) || defined(CONFIG_PPC_ISERIES)
...@@ -95,5 +93,3 @@ void spin_unlock_wait(spinlock_t *lock) ...@@ -95,5 +93,3 @@ void spin_unlock_wait(spinlock_t *lock)
} }
EXPORT_SYMBOL(spin_unlock_wait); EXPORT_SYMBOL(spin_unlock_wait);
#endif /* CONFIG_SPINLINE */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment