comparison bfin/dsputil_bfin.h @ 11063:8327c5b4df9b libavcodec

Blackfin: use SRAM only when CONFIG_SRAM is set
author mru
date Sun, 31 Jan 2010 00:20:30 +0000
parents c4a4495715dd
children 00b80bf84ad9
comparison
equal deleted inserted replaced
11062:a8e640f4f388 11063:8327c5b4df9b
22 22
23 23
24 #ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H 24 #ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H
25 #define AVCODEC_BFIN_DSPUTIL_BFIN_H 25 #define AVCODEC_BFIN_DSPUTIL_BFIN_H
26 26
27 #ifdef __FDPIC__ 27 #if defined(__FDPIC__) && CONFIG_SRAM
28 #define attribute_l1_text __attribute__ ((l1_text)) 28 #define attribute_l1_text __attribute__ ((l1_text))
29 #define attribute_l1_data_b __attribute__((l1_data_B)) 29 #define attribute_l1_data_b __attribute__((l1_data_B))
30 #else 30 #else
31 #define attribute_l1_text 31 #define attribute_l1_text
32 #define attribute_l1_data_b 32 #define attribute_l1_data_b