aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Song <barry.song@analog.com>2010-01-05 07:05:50 +0000
committerMike Frysinger <vapier@gentoo.org>2010-03-09 00:30:48 -0500
commit6feda3a6530204ad73a2dc1713c051462a1d9c49 (patch)
treebc3211c19d79cc9f1f18b9b3d9994ac09197a185
parent0afc272cc6044b7a4f1318eadbfb10c4be654441 (diff)
downloadkernel_samsung_smdk4412-6feda3a6530204ad73a2dc1713c051462a1d9c49.zip
kernel_samsung_smdk4412-6feda3a6530204ad73a2dc1713c051462a1d9c49.tar.gz
kernel_samsung_smdk4412-6feda3a6530204ad73a2dc1713c051462a1d9c49.tar.bz2
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>
-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 8dc7ee1..a0bc7d3 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