diff options
| author | Dave Jones <davej@codemonkey.org.uk> | 2002-11-25 02:29:03 -0800 |
|---|---|---|
| committer | Dave Jones <davej@codemonkey.org.uk> | 2002-11-25 02:29:03 -0800 |
| commit | 6b5738f212581b04b9b99c79ccee88d7236638b7 (patch) | |
| tree | 06080415ec7d32b5531f0485964f566fcc30460a /include/linux | |
| parent | cebce9d8beb7493d5c82035db854a475f6a1ae66 (diff) | |
[PATCH] CONFIG_DEBUG_SPINLOCK_SLEEP
This makes the sleep-under-spinlock-held check a CONFIG_ option.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h index b26057b85ea0..80a3e97ab59b 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -40,7 +40,7 @@ struct completion; -#ifdef CONFIG_DEBUG_KERNEL +#ifdef CONFIG_DEBUG_SPINLOCK_SLEEP void __might_sleep(char *file, int line); #define might_sleep() __might_sleep(__FILE__, __LINE__) #else |
