openrisc: head: use THREAD_SIZE instead of magic constant
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Wed, 8 Jan 2014 11:15:05 +0000 (13:15 +0200)
committerStafford Horne <shorne@gmail.com>
Mon, 6 Feb 2017 12:50:42 +0000 (21:50 +0900)
commitc2dc72437a5504bf8f4343ed83ae745afa388522
tree11eb79d738234211ddfa684758b5c0ca6f672a36
parent742fb582b4540a7b59427dc67be1fe4a5eac7078
openrisc: head: use THREAD_SIZE instead of magic constant

The stack size was hard coded to 0x2000, use the standard THREAD_SIZE
definition loaded from thread_info.h.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
[shorne@gmail.com: Added body to the commit message]
Signed-off-by: Stafford Horne <shorne@gmail.com>
arch/openrisc/kernel/head.S