diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-31 00:20:37 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-31 00:20:37 +0000 |
commit | e62bd367ea56526985e0e618c393cf2a28f157ff (patch) | |
tree | 8e38630008e51e7f8253cafb2620ee5acf0548ee /libswscale | |
parent | d132d50fb8bfd261291055adc9f69cad3d8e640c (diff) | |
download | ffmpeg-e62bd367ea56526985e0e618c393cf2a28f157ff.tar.gz |
Blackfin: use SRAM only when CONFIG_SRAM is set
Originally committed as revision 30472 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/bfin/internal_bfin.S | 2 | ||||
-rw-r--r-- | libswscale/bfin/swscale_bfin.c | 2 | ||||
-rw-r--r-- | libswscale/bfin/yuv2rgb_bfin.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/libswscale/bfin/internal_bfin.S b/libswscale/bfin/internal_bfin.S index fb7bda7e12..98f69ef53f 100644 --- a/libswscale/bfin/internal_bfin.S +++ b/libswscale/bfin/internal_bfin.S @@ -94,7 +94,7 @@ to do with the memory system. */ #define mL3 .text -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM #define mL1 .l1.text #else #define mL1 mL3 diff --git a/libswscale/bfin/swscale_bfin.c b/libswscale/bfin/swscale_bfin.c index 2ad81d847d..ce2f1720dd 100644 --- a/libswscale/bfin/swscale_bfin.c +++ b/libswscale/bfin/swscale_bfin.c @@ -31,7 +31,7 @@ #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" -#ifdef __FDPIC__ +#if defined (__FDPIC__) && CONFIG_SRAM #define L1CODE __attribute__ ((l1_text)) #else #define L1CODE diff --git a/libswscale/bfin/yuv2rgb_bfin.c b/libswscale/bfin/yuv2rgb_bfin.c index 39e1ec87b5..eaa83eaf3b 100644 --- a/libswscale/bfin/yuv2rgb_bfin.c +++ b/libswscale/bfin/yuv2rgb_bfin.c @@ -32,7 +32,7 @@ #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" -#ifdef __FDPIC__ +#if defined(__FDPIC__) && CONFIG_SRAM #define L1CODE __attribute__ ((l1_text)) #else #define L1CODE |