diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-05 15:05:48 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-05-08 14:08:46 +0200 |
commit | f5e10287367dcffb5504d19c83e85ca041ca2596 (patch) | |
tree | caa6684a16ed32809b328f858711758dc7b0c9bb /arch/Kconfig | |
parent | 66bb4cda55477efeb1be5c2cbd3785a69b088a8a (diff) | |
download | lwn-f5e10287367dcffb5504d19c83e85ca041ca2596.tar.gz lwn-f5e10287367dcffb5504d19c83e85ca041ca2596.zip |
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 config ARCH_INIT_TASK bool +# Select if arch has its private alloc_task_struct() function +config ARCH_TASK_STRUCT_ALLOCATOR + bool + +# Select if arch has its private alloc_thread_info() function +config ARCH_THREAD_INFO_ALLOCATOR + bool + config HAVE_REGS_AND_STACK_ACCESS_API bool help |