Blackfin: replace harcoded define with proper THREAD_SIZE macro
authorBarry Song <barry.song@analog.com>
Tue, 5 Jan 2010 07:05:50 +0000 (07:05 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Mar 2010 05:30:48 +0000 (00:30 -0500)
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/setup.c

index 8dc7ee1..a0bc7d3 100644 (file)
@@ -635,7 +635,7 @@ static __init void memory_setup(void)
                __bss_start, __bss_stop,
                _sdata, _edata,
                (void *)&init_thread_union,
-               (void *)((int)(&init_thread_union) + 0x2000),
+               (void *)((int)(&init_thread_union) + THREAD_SIZE),
                __init_begin, __init_end,
                (void *)_ramstart, (void *)memory_end
 #ifdef CONFIG_MTD_UCLINUX