From: Imre Deak Date: Tue, 1 Nov 2005 00:24:47 +0000 (-0800) Subject: fix wrong shift value for cpu_is_omap24xx, cpu_is_omap23xx macros X-Git-Tag: v2.6.15-omap2~121 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8b9fa7f418bbbd9cc15d0335824effa1f0ae63c;p=linux-2.6-omap-h63xx.git fix wrong shift value for cpu_is_omap24xx, cpu_is_omap23xx macros Signed-off-by: Imre Deak Signed-off-by: Tony Lindgren --- 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) \