diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2006-01-14 22:21:00 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-15 03:27:09 +0100 |
commit | 0152fb37603e3a776768794030b809ae77027aa4 (patch) | |
tree | dc1df7a4e474e6e8c4b6987a22e09c727bb97433 /kernel/sysctl.c | |
parent | [PATCH] s390: fix cpcmd calls on UP (diff) | |
download | linux-0152fb37603e3a776768794030b809ae77027aa4.tar.xz linux-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", |