cris: Use common threadinfo allocator
authorThomas Gleixner <tglx@linutronix.de>
Sat, 5 May 2012 15:05:43 +0000 (15:05 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 8 May 2012 12:08:44 +0000 (14:08 +0200)
commit803fc74f06cf3cd23417463ca5a176b41717ec19
treea5b7f19e7c3f62249205565d8ffadc31532244cb
parent38e7c572ce7310def003d8bb7c34260f5d8118cb
cris: Use common threadinfo allocator

There is no functional difference. __get_free_pages() ends up calling
alloc_pages_node().

This also allocates only one page which matches THREAD_SIZE instead of
an extra page for nothing.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Link: http://lkml.kernel.org/r/20120505150141.681236240@linutronix.de
arch/cris/include/asm/processor.h
arch/cris/include/asm/thread_info.h