Index: apps/codecs/Tremor/mdct_arm.S =================================================================== --- apps/codecs/Tremor/mdct_arm.S (revision 16147) +++ apps/codecs/Tremor/mdct_arm.S (working copy) @@ -16,12 +16,20 @@ * KIND, either express or implied. * ****************************************************************************/ + +#include "config.h" +/* Codecs should not normally do this, but we need to check a macro, and + * codecs.h would confuse the assembler. */ #define cPI3_8 (0x30fbc54d) #define cPI2_8 (0x5a82799a) #define cPI1_8 (0x7641af3d) +#ifdef USE_IRAM .section .icode,"ax",%progbits +#else + .text +#endif .align .global mdct_butterfly_32 Index: apps/codecs/Tremor/mdct.c =================================================================== --- apps/codecs/Tremor/mdct.c (revision 16147) +++ apps/codecs/Tremor/mdct.c (working copy) @@ -38,7 +38,7 @@ #include "mdct.h" #include "mdct_lookup.h" -#if defined(CPU_ARM) && CONFIG_CPU != S3C2440 +#ifdef CPU_ARM extern void mdct_butterfly_32(DATA_TYPE *x); extern void mdct_butterfly_generic_loop(DATA_TYPE *x1, DATA_TYPE *x2,