qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 7/9] exec.h: fix coding style of the area to be


From: Jan Kiszka
Subject: Re: [Qemu-devel] [PATCH 7/9] exec.h: fix coding style of the area to be moved
Date: Sun, 22 May 2011 13:30:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

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 <address@hidden>
> ---
>  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

[Prev in Thread] Current Thread [Next in Thread]