On 2011-05-22 13:18, Blue Swirl wrote:
> Before the next patch, fix coding style of the areas affected.
> 
> Signed-off-by: Blue Swirl <blauwir...@gmail.com>
> ---
>  target-alpha/exec.h      |    2 +-
>  target-arm/exec.h        |    4 ++--
>  target-cris/exec.h       |    2 +-
>  target-m68k/exec.h       |    2 +-
>  target-microblaze/exec.h |    2 +-
>  target-ppc/exec.h        |    2 +-
>  target-sh4/exec.h        |    2 +-
>  7 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/target-alpha/exec.h b/target-alpha/exec.h
> index 6ae96d1..26c3a3a 100644
> --- a/target-alpha/exec.h
> +++ b/target-alpha/exec.h
> @@ -39,7 +39,7 @@ register struct CPUAlphaState *env asm(AREG0);
> 
>  static inline int cpu_has_work(CPUState *env)
>  {
> -    return (env->interrupt_request & CPU_INTERRUPT_HARD);
> +    return env->interrupt_request & CPU_INTERRUPT_HARD;

Maybe this patch or the series is a good change to make cpu_has_work
return a bool?

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to