From: Mike Frysinger Date: Mon, 25 Oct 2010 08:49:49 +0000 (-0400) Subject: Blackfin: fix inverted anomaly 05000481 logic X-Git-Tag: v2.6.37-rc1~116^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad3e01a331435a06055cdaf19cc973dd138dc925;p=profile%2Fcommon%2Fkernel-common.git Blackfin: fix inverted anomaly 05000481 logic No one uses these MMRs so we didn't notice when the anomaly handling logic was inverted. Reported-by: Robin Getz Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/include/asm/cdef_LPBlackfin.h b/arch/blackfin/include/asm/cdef_LPBlackfin.h index a1f6817..59af63c 100644 --- a/arch/blackfin/include/asm/cdef_LPBlackfin.h +++ b/arch/blackfin/include/asm/cdef_LPBlackfin.h @@ -179,7 +179,7 @@ #define bfin_write_ITEST_DATA0(val) bfin_write32(ITEST_DATA0,val) #define bfin_write_ITEST_DATA1(val) bfin_write32(ITEST_DATA1,val) -#if ANOMALY_05000481 +#if !ANOMALY_05000481 #define bfin_read_ITEST_COMMAND() bfin_read32(ITEST_COMMAND) #define bfin_read_ITEST_DATA0() bfin_read32(ITEST_DATA0) #define bfin_read_ITEST_DATA1() bfin_read32(ITEST_DATA1)