From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvNqM-0000KG-Cx for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:55:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvNqK-00010r-Sb for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:55:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvNqK-00010a-KC for qemu-devel@nongnu.org; Wed, 16 Jan 2013 02:55:28 -0500 Date: Wed, 16 Jan 2013 08:34:14 +0100 From: Igor Mammedov Message-ID: <20130116083414.3247dd17@thinkpad.mammed.net> In-Reply-To: <1357870690-12680-2-git-send-email-ehabkost@redhat.com> References: <1357870690-12680-1-git-send-email-ehabkost@redhat.com> <1357870690-12680-2-git-send-email-ehabkost@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH qom-cpu 1/2] target-i386/cpu.c: Coding style fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: qemu-devel@nongnu.org, Andreas =?UTF-8?B?RsOkcmJlcg==?= On Fri, 11 Jan 2013 00:18:09 -0200 Eduardo Habkost wrote: > * Add braces to 'if' statements; > * Remove last TAB character from the source. > > Signed-off-by: Eduardo Habkost Reviewed-By: Igor Mammedov > --- > target-i386/cpu.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/target-i386/cpu.c b/target-i386/cpu.c > index 9a48e3f..0b44dea 100644 > --- a/target-i386/cpu.c > +++ b/target-i386/cpu.c > @@ -1917,12 +1917,13 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, > if (env->cpuid_ext2_features & CPUID_EXT2_LM) { > /* 64 bit processor */ > /* XXX: The physical address space is limited to 42 bits in exec.c. */ > - *eax = 0x00003028; /* 48 bits virtual, 40 bits physical */ > + *eax = 0x00003028; /* 48 bits virtual, 40 bits physical */ > } else { > - if (env->cpuid_features & CPUID_PSE36) > + if (env->cpuid_features & CPUID_PSE36) { > *eax = 0x00000024; /* 36 bits physical */ > - else > + } else { > *eax = 0x00000020; /* 32 bits physical */ > + } > } > *ebx = 0; > *ecx = 0; > -- > 1.7.11.7 > -- Regards, Igor