From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2 04/20] alternatives: x86 rename and change parameters on ARM Date: Thu, 25 Aug 2016 14:55:48 +0100 Message-ID: References: <1472132255-23470-1-git-send-email-konrad.wilk@oracle.com> <1472132255-23470-5-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6646911335032893700==" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcv8W-0004xA-F7 for xen-devel@lists.xenproject.org; Thu, 25 Aug 2016 13:56:04 +0000 In-Reply-To: <1472132255-23470-5-git-send-email-konrad.wilk@oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Konrad Rzeszutek Wilk , xen-devel@lists.xenproject.org, konrad@kernel.org, ross.lagerwall@citrix.com, sstabellini@kernel.org, julien.grall@arm.com Cc: Jan Beulich List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============6646911335032893700== Content-Type: multipart/alternative; boundary="------------DF5AB009D52B69DC41E6766B" This is a multi-part message in MIME format. --------------DF5AB009D52B69DC41E6766B Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit On 25/08/16 14:37, Konrad Rzeszutek Wilk wrote: > On x86 we squash 'apply_alternatives' in to > 'alternative_instructions' (who was its sole user) > and 'apply_alternatives_nocheck' to 'apply_alternatives'. > > On ARM we change the parameters for 'apply_alternatives' > to be of 'const struct alt_instr *' instead of void pointer and > size length. > > We also add 'const' and make the arguments be on the > proper offset. > > Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Andrew Cooper --------------DF5AB009D52B69DC41E6766B Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

On 25/08/16 14:37, Konrad Rzeszutek Wilk wrote:

On x86 we squash 'apply_alternatives' in to
'alternative_instructions' (who was its sole user)
and 'apply_alternatives_nocheck' to 'apply_alternatives'.

On ARM we change the parameters for 'apply_alternatives'
to be of 'const struct alt_instr *' instead of void pointer and
size length.

We also add 'const' and make the arguments be on the
proper offset.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>

Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
--------------DF5AB009D52B69DC41E6766B-- --===============6646911335032893700== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============6646911335032893700==--