aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/bfin/dsputil_bfin.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-01-31 00:20:30 +0000
committerMåns Rullgård <mans@mansr.com>2010-01-31 00:20:30 +0000
commitd132d50fb8bfd261291055adc9f69cad3d8e640c (patch)
tree00f44c63f801034ca6b5fbaa4bda831d85d122f1 /libavcodec/bfin/dsputil_bfin.h
parent6b35d421b9f2a1701fe4d9676be29574f483eef8 (diff)
downloadffmpeg-d132d50fb8bfd261291055adc9f69cad3d8e640c.tar.gz
Blackfin: use SRAM only when CONFIG_SRAM is set
Originally committed as revision 21565 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bfin/dsputil_bfin.h')
-rw-r--r--libavcodec/bfin/dsputil_bfin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bfin/dsputil_bfin.h b/libavcodec/bfin/dsputil_bfin.h
index 8d5d32746d..90d7e2fb3b 100644
--- a/libavcodec/bfin/dsputil_bfin.h
+++ b/libavcodec/bfin/dsputil_bfin.h
@@ -24,7 +24,7 @@
#ifndef AVCODEC_BFIN_DSPUTIL_BFIN_H
#define AVCODEC_BFIN_DSPUTIL_BFIN_H
-#ifdef __FDPIC__
+#if defined(__FDPIC__) && CONFIG_SRAM
#define attribute_l1_text __attribute__ ((l1_text))
#define attribute_l1_data_b __attribute__((l1_data_B))
#else