dcache: Dcache line size aligned stack buffer allocation
authorLukasz Majewski <l.majewski@samsung.com>
Tue, 30 Aug 2011 11:30:44 +0000 (13:30 +0200)
committerLukasz Majewski <l.majewski@samsung.com>
Fri, 23 Sep 2011 08:21:34 +0000 (10:21 +0200)
commit6d3246c7775519b32894ac292cc2b4a56e40ccea
treee3028f2c0cd2512b3ec2a990fd31a2596877a191
parent3a468778281ba00f2b59a88c1271d54e4083e09c
dcache: Dcache line size aligned stack buffer allocation

ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using
stack allocated buffers for DMA transfers.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
CC: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
Changes for v2:
- ./include/cache.h has been removed and replaced with
simpler macro added to ./include/common.h
Changes for v3:
- change char * to char
- defined table size definition
Changes for v4:
- (type*) added for compiler warning fix

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
include/common.h