On Thu, Jul 10, 2014 at 04:50:02PM +0100, Alex Bennée wrote:
> This is a pre-cursor to removing the cpsr_write function completely from
> the code base. set_condition_codes() only affects the integer condition
> flags.

Acked-by: Riku Voipio <riku.voi...@linaro.org>

> Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
> 
> ---
> 
> v2
>  - fix nwfpe set_condition_codes
> 
> diff --git a/linux-user/arm/nwfpe/fpa11.h b/linux-user/arm/nwfpe/fpa11.h
> index bb9ac65..c7883d0 100644
> --- a/linux-user/arm/nwfpe/fpa11.h
> +++ b/linux-user/arm/nwfpe/fpa11.h
> @@ -108,7 +108,7 @@ static inline void writeRegister(unsigned int x, unsigned 
> int y)
>  
>  static inline void writeConditionCodes(unsigned int x)
>  {
> -        cpsr_write(user_registers,x,CPSR_NZCV);
> +        set_condition_codes(user_registers, x);
>  }
>  
>  #define ARM_REG_PC 15
> -- 
> 2.0.1
> 

Reply via email to