From d8b9fa7f418bbbd9cc15d0335824effa1f0ae63c Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Mon, 31 Oct 2005 16:24:47 -0800 Subject: [PATCH] fix wrong shift value for cpu_is_omap24xx, cpu_is_omap23xx macros Signed-off-by: Imre Deak Signed-off-by: Tony Lindgren --- include/asm-arm/arch-omap/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-arm/arch-omap/cpu.h b/include/asm-arm/arch-omap/cpu.h index d115ca02bdc..ec7eb675d92 100644 --- a/include/asm-arm/arch-omap/cpu.h +++ b/include/asm-arm/arch-omap/cpu.h @@ -88,7 +88,7 @@ static inline int is_omap ##class (void) \ return (GET_OMAP_CLASS == (id)) ? 1 : 0; \ } -#define GET_OMAP_SUBCLASS ((system_rev >> 16) & 0x0fff) +#define GET_OMAP_SUBCLASS ((system_rev >> 20) & 0x0fff) #define IS_OMAP_SUBCLASS(subclass, id) \ static inline int is_omap ##subclass (void) \ -- 2.41.1