summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/setup.c
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2010-01-05 08:05:50 +0100
committerMike Frysinger <vapier@gentoo.org>2010-03-09 06:30:48 +0100
commit6feda3a6530204ad73a2dc1713c051462a1d9c49 (patch)
treebc3211c19d79cc9f1f18b9b3d9994ac09197a185 /arch/blackfin/kernel/setup.c
parentBlackfin: fix relocation errors with large initramfs images (diff)
downloadlinux-6feda3a6530204ad73a2dc1713c051462a1d9c49.tar.xz
linux-6feda3a6530204ad73a2dc1713c051462a1d9c49.zip
Blackfin: replace harcoded define with proper THREAD_SIZE macro
Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r--arch/blackfin/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 8dc7ee1ef336..a0bc7d3e1bff 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -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