diff options
Diffstat (limited to 'kernel/smpboot.c')
-rw-r--r-- | kernel/smpboot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/smpboot.c b/kernel/smpboot.c index 9d5f7b04025d..d6c5fc054242 100644 --- a/kernel/smpboot.c +++ b/kernel/smpboot.c | |||
@@ -15,6 +15,8 @@ | |||
15 | 15 | ||
16 | #include "smpboot.h" | 16 | #include "smpboot.h" |
17 | 17 | ||
18 | #ifdef CONFIG_SMP | ||
19 | |||
18 | #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD | 20 | #ifdef CONFIG_GENERIC_SMP_IDLE_THREAD |
19 | /* | 21 | /* |
20 | * For the hotplug case we keep the task structs around and reuse | 22 | * For the hotplug case we keep the task structs around and reuse |
@@ -72,6 +74,8 @@ void __init idle_threads_init(void) | |||
72 | } | 74 | } |
73 | #endif | 75 | #endif |
74 | 76 | ||
77 | #endif /* #ifdef CONFIG_SMP */ | ||
78 | |||
75 | static LIST_HEAD(hotplug_threads); | 79 | static LIST_HEAD(hotplug_threads); |
76 | static DEFINE_MUTEX(smpboot_threads_lock); | 80 | static DEFINE_MUTEX(smpboot_threads_lock); |
77 | 81 | ||