Blackfin arch: Extend sram malloc to handle L2 SRAM.
authorSonic Zhang <sonic.zhang@analog.com>
Sat, 19 Jul 2008 07:42:41 +0000 (15:42 +0800)
committerBryan Wu <cooloney@kernel.org>
Sat, 19 Jul 2008 07:42:41 +0000 (15:42 +0800)
commit262c3825a9f3eb0f4f30ebb4b1ee57397bcb3ffc
treefb5402f0de002d3e7a6671820228a2b9808d831f
parentbafcc1b97323261a42d47960db99947bcc1be133
Blackfin arch:  Extend sram malloc to handle L2 SRAM.

Extend system call to alloc L2 SRAM in application.
Automatically move following sections to L2 SRAM:
1. kernel built-in l2 attribute section
2. kernel module l2 attribute section
3. elf-fdpic application l2 attribute section

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/module.c
arch/blackfin/kernel/setup.c
arch/blackfin/kernel/vmlinux.lds.S
arch/blackfin/mm/blackfin_sram.c
include/asm-blackfin/bfin-global.h
include/asm-blackfin/elf.h
include/asm-blackfin/module.h