From patchwork Sun May 22 11:18:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Blue Swirl X-Patchwork-Id: 96735 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 3B47BB6FB8 for ; Sun, 22 May 2011 21:19:51 +1000 (EST) Received: from localhost ([::1]:53314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QO6hI-0000RF-Bt for incoming@patchwork.ozlabs.org; Sun, 22 May 2011 07:19:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]:45271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QO6fy-00079l-HD for qemu-devel@nongnu.org; Sun, 22 May 2011 07:18:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QO6fx-0005I7-82 for qemu-devel@nongnu.org; Sun, 22 May 2011 07:18:26 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:49317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QO6fx-0005HB-5W for qemu-devel@nongnu.org; Sun, 22 May 2011 07:18:25 -0400 Received: by mail-qw0-f45.google.com with SMTP id 8so2888117qwj.4 for ; Sun, 22 May 2011 04:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=d2dlczuwzr5WuhHJw8UTEtFvFvNRqkiU7PQEWQKPONg=; b=I6zY9QZoN0SID1uNOSPhNY9CkzRExwCQqirHYqaaV8PGC+/YVPieKhZzjKmLWsf6Ui KOKnHkWpNG+4f4mt1kEmpnQp6P+KfJu5hDvJh0mV78Of8AH0vI5Ofcd3YI/6Fn99HpX5 C9RNYc4RTf5c2Y7q6MedeeLwBGUwbZIxkJr4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=KDiVMODwnCZ96DMhjitDwnKQLbVDoQuwiQPDu23DLTMBYKY0t6qNQxII3QekPLNmTN 7Yq+tXQzPnmxbcbMkYriPv3lGarTqH3q/ilyIDZ21UVar/Ocj/iorZCLS7mdtdCkJdEj 4QEw24Dwe38elaJNRifWYqk+ETBTR4zZ3wXGI= Received: by 10.224.194.133 with SMTP id dy5mr913739qab.237.1306063105058; Sun, 22 May 2011 04:18:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.54.148 with HTTP; Sun, 22 May 2011 04:18:05 -0700 (PDT) From: Blue Swirl Date: Sun, 22 May 2011 14:18:05 +0300 Message-ID: To: qemu-devel X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.45 Subject: [Qemu-devel] [PATCH 7/9] exec.h: fix coding style of the area to be moved X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Before the next patch, fix coding style of the areas affected. Signed-off-by: Blue Swirl --- 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(-) From 5a9a4488f189c97314ad81061499691214034493 Mon Sep 17 00:00:00 2001 Message-Id: <5a9a4488f189c97314ad81061499691214034493.1306062376.git.blauwirbel@gmail.com> In-Reply-To: References: From: Blue Swirl Date: Sat, 21 May 2011 12:16:05 +0000 Subject: [PATCH 7/9] exec.h: fix coding style of the area to be moved Before the next patch, fix coding style of the areas affected. Signed-off-by: Blue Swirl --- 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; } static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) diff --git a/target-arm/exec.h b/target-arm/exec.h index 44e1b55..ef497d8 100644 --- a/target-arm/exec.h +++ b/target-arm/exec.h @@ -28,8 +28,8 @@ register struct CPUARMState *env asm(AREG0); static inline int cpu_has_work(CPUState *env) { - return (env->interrupt_request & - (CPU_INTERRUPT_FIQ | CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB)); + return env->interrupt_request & + (CPU_INTERRUPT_FIQ | CPU_INTERRUPT_HARD | CPU_INTERRUPT_EXITTB); } #if !defined(CONFIG_USER_ONLY) diff --git a/target-cris/exec.h b/target-cris/exec.h index 2d5d297..491f17c 100644 --- a/target-cris/exec.h +++ b/target-cris/exec.h @@ -30,7 +30,7 @@ register struct CPUCRISState *env asm(AREG0); static inline int cpu_has_work(CPUState *env) { - return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)); + return env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI); } static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) diff --git a/target-m68k/exec.h b/target-m68k/exec.h index 91daa6b..f63e849 100644 --- a/target-m68k/exec.h +++ b/target-m68k/exec.h @@ -30,7 +30,7 @@ register struct CPUM68KState *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); } static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) diff --git a/target-microblaze/exec.h b/target-microblaze/exec.h index 1efff30..af102d6 100644 --- a/target-microblaze/exec.h +++ b/target-microblaze/exec.h @@ -29,7 +29,7 @@ register struct CPUMBState *env asm(AREG0); static inline int cpu_has_work(CPUState *env) { - return (env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)); + return env->interrupt_request & (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI); } static inline void cpu_pc_from_tb(CPUState *env, TranslationBlock *tb) diff --git a/target-ppc/exec.h b/target-ppc/exec.h index f87847a..fbc0a06 100644 --- a/target-ppc/exec.h +++ b/target-ppc/exec.h @@ -34,7 +34,7 @@ register struct CPUPPCState *env asm(AREG0); static inline int cpu_has_work(CPUState *env) { - return (msr_ee && (env->interrupt_request & CPU_INTERRUPT_HARD)); + return msr_ee && (env->interrupt_request & CPU_INTERRUPT_HARD); } diff --git a/target-sh4/exec.h b/target-sh4/exec.h index 9f1c1f6..e52838c 100644 --- a/target-sh4/exec.h +++ b/target-sh4/exec.h @@ -29,7 +29,7 @@ register struct CPUSH4State *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; } #ifndef CONFIG_USER_ONLY -- 1.7.2.5