Received: from eggs.gnu.org ([2001:4830:134:3::10]:58495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5fWY-0001Rl-RC for qemu-devel@nongnu.org; Thu, 18 Jun 2015 15:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5fWT-0005MH-A3 for qemu-devel@nongnu.org; Thu, 18 Jun 2015 15:30:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5fWT-0005LT-4l for qemu-devel@nongnu.org; Thu, 18 Jun 2015 15:30:49 -0400 Date: Thu, 18 Jun 2015 16:30:46 -0300 From: Eduardo Habkost Message-ID: <20150618193046.GI3874@thinpad.lan.raisama.net> References: <1434648295-30584-1-git-send-email-crosthwaite.peter@gmail.com> <1434648295-30584-7-git-send-email-crosthwaite.peter@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1434648295-30584-7-git-send-email-crosthwaite.peter@gmail.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 6/8] cpus: Change tcg_cpu_exec arg to cpu, not env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Peter Crosthwaite , rth@twiddle.net, qemu-devel@nongnu.org, aurelien@aurel32.net, afaerber@suse.de On Thu, Jun 18, 2015 at 10:24:53AM -0700, Peter Crosthwaite wrote: > The sole caller of this function navigates the cpu->env_ptr only for > this function to take it back the cpu pointer straight away. Pass in > cpu pointer instead and grab the env pointer locally in the function. > Removes a core code usage of ENV_GET_CPU(). >=20 > Reviewed-by: Andreas F=E4rber > Signed-off-by: Peter Crosthwaite Reviewed-by: Eduardo Habkost --=20 Eduardo