diff 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
line wrap: on
line diff
--- a/bfin/dsputil_bfin.h	Sat Jan 30 21:55:18 2010 +0000
+++ b/bfin/dsputil_bfin.h	Sun Jan 31 00:20:30 2010 +0000
@@ -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