11 Apr 2012 04:44
broken asm/blackfin.h in mainline
seems the asm/blackfin.h ssync changes were rewritten when pushed to mainline. the version pushed is broken. also, seems the Author field is wrong, but that can't be fixed now. commit 0db07a905628d7f2952691df40853ffd95ceb097 Author: Bob Liu <lliubbo@...> Date: Fri Jan 27 22:10:04 2012 +0800 blackfin: cleanup anomaly workarounds cleanup ANOMALY_05000312 and ANOMALY_05000244 Signed-off-by: Robin Getz <robin.getz@...> Signed-off-by: Bob Liu <lliubbo@...> <at> <at> -73,18 +61,26 <at> <at> static inline void CSYNC(void) #define ssync(x) SSYNC(x) #define csync(x) CSYNC(x) -#if ANOMALY_05000312 -#define SSYNC(scratch) cli scratch; nop; nop; SSYNC; sti scratch; -#define CSYNC(scratch) cli scratch; nop; nop; CSYNC; sti scratch; - -#elif ANOMALY_05000244 -#define SSYNC(scratch) nop; nop; nop; SSYNC; -#define CSYNC(scratch) nop; nop; nop; CSYNC; +#if ANOMALY_05000312 || ANOMALY_05000244 +#define SSYNC(scratch) \ +do { \ + cli scratch; \(Continue reading)
RSS Feed