]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
fix wrong shift value for cpu_is_omap24xx, cpu_is_omap23xx macros
authorImre Deak <imre.deak@nokia.com>
Tue, 1 Nov 2005 00:24:47 +0000 (16:24 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 1 Nov 2005 00:24:47 +0000 (16:24 -0800)
Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/asm-arm/arch-omap/cpu.h

index d115ca02bdc86737e61a9e6e2963449c43e0e316..ec7eb675d9227fea8bb308873d25bda8d4a9ade7 100644 (file)
@@ -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)            \