diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 11:05:48 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 08:08:46 -0400 |
commit | f5e10287367dcffb5504d19c83e85ca041ca2596 (patch) | |
tree | caa6684a16ed32809b328f858711758dc7b0c9bb /arch/Kconfig | |
parent | 66bb4cda55477efeb1be5c2cbd3785a69b088a8a (diff) |
task_allocator: Use config switches instead of magic defines
Replace __HAVE_ARCH_TASK_ALLOCATOR and __HAVE_ARCH_THREAD_ALLOCATOR
with proper config switches.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Tony Luck <tony.luck@intel.com>
Link: http://lkml.kernel.org/r/20120505150142.371309416@linutronix.de
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 597b132b3902..bd265a217bd2 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -152,6 +152,14 @@ config GENERIC_SMP_IDLE_THREAD | |||
152 | config ARCH_INIT_TASK | 152 | config ARCH_INIT_TASK |
153 | bool | 153 | bool |
154 | 154 | ||
155 | # Select if arch has its private alloc_task_struct() function | ||
156 | config ARCH_TASK_STRUCT_ALLOCATOR | ||
157 | bool | ||
158 | |||
159 | # Select if arch has its private alloc_thread_info() function | ||
160 | config ARCH_THREAD_INFO_ALLOCATOR | ||
161 | bool | ||
162 | |||
155 | config HAVE_REGS_AND_STACK_ACCESS_API | 163 | config HAVE_REGS_AND_STACK_ACCESS_API |
156 | bool | 164 | bool |
157 | help | 165 | help |