projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
803fc74
)
frv: Use common threadinfo allocator
author
Thomas Gleixner
<tglx@linutronix.de>
Sat, 5 May 2012 15:05:43 +0000
(15:05 +0000)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 8 May 2012 12:08:44 +0000
(14:08 +0200)
The core now has a threadinfo allocator which uses a kmemcache when
THREAD_SIZE < PAGE_SIZE.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Link:
http://lkml.kernel.org/r/20120505150141.751600045@linutronix.de
arch/frv/include/asm/thread_info.h
patch
|
blob
|
history
diff --git
a/arch/frv/include/asm/thread_info.h
b/arch/frv/include/asm/thread_info.h
index aaea388a57d9dfaa241b03d94ef5592b06a9b1bb..54ab13a0de415c1c76d2449626ad5d3ef92c3565 100644
(file)
--- a/
arch/frv/include/asm/thread_info.h
+++ b/
arch/frv/include/asm/thread_info.h
@@
-80,19
+80,6
@@
register struct thread_info *__current_thread_info asm("gr15");
#define current_thread_info() ({ __current_thread_info; })
-#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
-
-/* thread information allocation */
-#ifdef CONFIG_DEBUG_STACK_USAGE
-#define alloc_thread_info_node(tsk, node) \
- kzalloc_node(THREAD_SIZE, GFP_KERNEL, node)
-#else
-#define alloc_thread_info_node(tsk, node) \
- kmalloc_node(THREAD_SIZE, GFP_KERNEL, node)
-#endif
-
-#define free_thread_info(info) kfree(info)
-
#endif /* __ASSEMBLY__ */
/*