diff options
author | Barry Song <barry.song@analog.com> | 2010-01-05 02:05:50 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:48 -0500 |
commit | 6feda3a6530204ad73a2dc1713c051462a1d9c49 (patch) | |
tree | bc3211c19d79cc9f1f18b9b3d9994ac09197a185 | |
parent | 0afc272cc6044b7a4f1318eadbfb10c4be654441 (diff) |
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.c | 2 |
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) | |||
635 | __bss_start, __bss_stop, | 635 | __bss_start, __bss_stop, |
636 | _sdata, _edata, | 636 | _sdata, _edata, |
637 | (void *)&init_thread_union, | 637 | (void *)&init_thread_union, |
638 | (void *)((int)(&init_thread_union) + 0x2000), | 638 | (void *)((int)(&init_thread_union) + THREAD_SIZE), |
639 | __init_begin, __init_end, | 639 | __init_begin, __init_end, |
640 | (void *)_ramstart, (void *)memory_end | 640 | (void *)_ramstart, (void *)memory_end |
641 | #ifdef CONFIG_MTD_UCLINUX | 641 | #ifdef CONFIG_MTD_UCLINUX |