aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/Kconfig.debug8
-rw-r--r--arch/frv/kernel/semaphore.c2
2 files changed, 1 insertions, 9 deletions
diff --git a/arch/alpha/Kconfig.debug b/arch/alpha/Kconfig.debug
index 36d0106c32eb..f45f28cc10da 100644
--- a/arch/alpha/Kconfig.debug
+++ b/arch/alpha/Kconfig.debug
@@ -16,14 +16,6 @@ config DEBUG_RWLOCK
16 too many attempts. If you suspect a rwlock problem or a kernel 16 too many attempts. If you suspect a rwlock problem or a kernel
17 hacker asks for this option then say Y. Otherwise say N. 17 hacker asks for this option then say Y. Otherwise say N.
18 18
19config DEBUG_SEMAPHORE
20 bool "Semaphore debugging"
21 depends on DEBUG_KERNEL
22 help
23 If you say Y here then semaphore processing will issue lots of
24 verbose debugging messages. If you suspect a semaphore problem or a
25 kernel hacker asks for this option then say Y. Otherwise say N.
26
27config ALPHA_LEGACY_START_ADDRESS 19config ALPHA_LEGACY_START_ADDRESS
28 bool "Legacy kernel start address" 20 bool "Legacy kernel start address"
29 depends on ALPHA_GENERIC 21 depends on ALPHA_GENERIC
diff --git a/arch/frv/kernel/semaphore.c b/arch/frv/kernel/semaphore.c
index f278cdf3a72f..8e182ced1a0f 100644
--- a/arch/frv/kernel/semaphore.c
+++ b/arch/frv/kernel/semaphore.c
@@ -19,7 +19,7 @@ struct sem_waiter {
19 struct task_struct *task; 19 struct task_struct *task;
20}; 20};
21 21
22#if SEMAPHORE_DEBUG 22#ifdef CONFIG_DEBUG_SEMAPHORE
23void semtrace(struct semaphore *sem, const char *str) 23void semtrace(struct semaphore *sem, const char *str)
24{ 24{
25 if (sem->debug) 25 if (sem->debug)