summaryrefslogtreecommitdiff
path: root/arch/sparc/include/asm/thread_info_32.h
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-05-22 18:39:00 +0400
committerDavid S. Miller <davem@davemloft.net>2012-05-22 23:02:56 +0400
commit29af0ebaa24d3078d7fd9747a49a763fe7f9ea3c (patch)
tree15481af6c098a1a284693fb50db371a7b30b033b /arch/sparc/include/asm/thread_info_32.h
parent72c04af9a2d57b7945cf3de8e71461bd80695d50 (diff)
downloadlinux-29af0ebaa24d3078d7fd9747a49a763fe7f9ea3c.tar.xz
sparc32: use the common implementation of alloc_thread_info_node()
With sun4c removed we can fall-back to the common implementation. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Gleixner <tglx@linutronix.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/thread_info_32.h')
-rw-r--r--arch/sparc/include/asm/thread_info_32.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/sparc/include/asm/thread_info_32.h b/arch/sparc/include/asm/thread_info_32.h
index 21a38946541d..5af664932452 100644
--- a/arch/sparc/include/asm/thread_info_32.h
+++ b/arch/sparc/include/asm/thread_info_32.h
@@ -77,18 +77,11 @@ register struct thread_info *current_thread_info_reg asm("g6");
/*
* thread information allocation
*/
-#define THREAD_INFO_ORDER 1
-
-struct thread_info * alloc_thread_info_node(struct task_struct *tsk, int node);
-void free_thread_info(struct thread_info *);
+#define THREAD_SIZE_ORDER 1
#endif /* __ASSEMBLY__ */
-/*
- * Size of kernel stack for each process.
- * Observe the order of get_free_pages() in alloc_thread_info_node().
- * The sun4 has 8K stack too, because it's short on memory, and 16K is a waste.
- */
+/* Size of kernel stack for each process */
#define THREAD_SIZE (2 * PAGE_SIZE)
/*