9
0
Fork 0

ups. mixed up start and end in blackfin_mem_malloc_init

This commit is contained in:
Sascha Hauer 2007-09-27 12:09:01 +02:00
parent e35ccd2f9c
commit d7034dbb8c
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@
int blackfin_mem_malloc_init(void)
{
mem_malloc_init((void *)(CONFIG_MALLOC_BASE - CONFIG_MALLOC_LEN),
(void *)CONFIG_MALLOC_BASE);
mem_malloc_init((void *)(CONFIG_MALLOC_BASE),
(void *)(CONFIG_MALLOC_BASE + CONFIG_MALLOC_LEN));
return 0;
}