Received: from eggs.gnu.org ([208.118.235.92]:41575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STz8K-0005Hj-UM for qemu-devel@nongnu.org; Mon, 14 May 2012 13:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STz8A-0000aB-CW for qemu-devel@nongnu.org; Mon, 14 May 2012 13:32:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49583 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STz8A-0000ZJ-6H for qemu-devel@nongnu.org; Mon, 14 May 2012 13:32:22 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Mon, 14 May 2012 19:31:49 +0200 Message-Id: <1337016729-12285-3-git-send-email-afaerber@suse.de> In-Reply-To: <1337016729-12285-1-git-send-email-afaerber@suse.de> References: <1337016729-12285-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH qom-next 02/22] omap_sx1: Rename omap_mpu_state_s variable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, =?UTF-8?q?Andreas=20F=C3=A4rber?= Avoid cpu->cpu by using "mpu" as variable name. Signed-off-by: Andreas F=C3=A4rber --- hw/omap_sx1.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/omap_sx1.c b/hw/omap_sx1.c index c7618c6..b64e1eb 100644 --- a/hw/omap_sx1.c +++ b/hw/omap_sx1.c @@ -103,7 +103,7 @@ static void sx1_init(ram_addr_t ram_size, const char *initrd_filename, const char *cpu_model, const int version) { - struct omap_mpu_state_s *cpu; + struct omap_mpu_state_s *mpu; MemoryRegion *address_space =3D get_system_memory(); MemoryRegion *flash =3D g_new(MemoryRegion, 1); MemoryRegion *flash_1 =3D g_new(MemoryRegion, 1); @@ -121,7 +121,7 @@ static void sx1_init(ram_addr_t ram_size, flash_size =3D flash2_size; } =20 - cpu =3D omap310_mpu_init(address_space, sx1_binfo.ram_size, cpu_mode= l); + mpu =3D omap310_mpu_init(address_space, sx1_binfo.ram_size, cpu_mode= l); =20 /* External Flash (EMIFS) */ memory_region_init_ram(flash, "omap_sx1.flash0-0", flash_size); @@ -202,7 +202,7 @@ static void sx1_init(ram_addr_t ram_size, sx1_binfo.kernel_filename =3D kernel_filename; sx1_binfo.kernel_cmdline =3D kernel_cmdline; sx1_binfo.initrd_filename =3D initrd_filename; - arm_load_kernel(&cpu->cpu->env, &sx1_binfo); + arm_load_kernel(&mpu->cpu->env, &sx1_binfo); } =20 /* TODO: fix next line */ --=20 1.7.7