[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-omap
Subject:    [PATCH] ARM: OMAP: fix OMAP2 subclass macro
From:       tony () atomide ! com (Tony Lindgren)
Date:       2005-10-31 18:25:26
Message-ID: 20051101002501.GD16511 () atomide ! com
[Download RAW message or body]

* Imre Deak <imre.deak@nokia.com> [051031 00:47]:
> fix wrong shift value for cpu_is_omap24xx, cpu_is_omap23xx macros
> 
> Signed-off-by: Imre Deak <imre.deak@nokia.com>
> 

> diff --git a/include/asm-arm/arch-omap/cpu.h b/include/asm-arm/arch-omap/cpu.h
> --- 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)		\

Pushing today.

Tony

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic