diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-01-14 13:21:00 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-14 18:27:09 -0800 |
commit | 0152fb37603e3a776768794030b809ae77027aa4 (patch) | |
tree | dc1df7a4e474e6e8c4b6987a22e09c727bb97433 /kernel/sysctl.c | |
parent | 68c119177890afff4759abda8da2b4ff5e06efa1 (diff) | |
download | lwn-0152fb37603e3a776768794030b809ae77027aa4.tar.gz lwn-0152fb37603e3a776768794030b809ae77027aa4.zip |
[PATCH] s390: spinlock fixes
Remove useless spin_retry_counter and fix compilation for UP kernels.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 62d4d9566876..f5d69b6e29f5 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -648,7 +648,7 @@ static ctl_table kern_table[] = { .mode = 0644, .proc_handler = &proc_dointvec, }, -#if defined(CONFIG_S390) +#if defined(CONFIG_S390) && defined(CONFIG_SMP) { .ctl_name = KERN_SPIN_RETRY, .procname = "spin_retry", |