From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: [PATCH 01 of 10 [RFC]] libxc: Generalize xenctl_cpumap to just xenctl_map Date: Wed, 11 Apr 2012 18:41:42 +0200 Message-ID: <1334162502.4298.7.camel@Solace> References: <4F85AC6C.10407@eu.citrix.com> <1334161892.4298.6.camel@Solace> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6423222687116352340==" Return-path: In-Reply-To: <1334161892.4298.6.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: George Dunlap Cc: Andre Przywara , Ian Campbell , Stefano Stabellini , Juergen Gross , Ian Jackson , "xen-devel@lists.xen.org" , Jan Beulich List-Id: xen-devel@lists.xenproject.org --===============6423222687116352340== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-hXcuUwNBz82cyq7ZBdSR" --=-hXcuUwNBz82cyq7ZBdSR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2012-04-11 at 18:31 +0200, Dario Faggioli wrote: > > > /* Copy to/from cpumap provided by control tools. */ > > > -struct xenctl_cpumap; > > > -int cpumask_to_xenctl_cpumap(struct xenctl_cpumap *, const cpumask_t= *); > > > -int xenctl_cpumap_to_cpumask(cpumask_var_t *, const struct xenctl_cp= umap *); > > > +struct xenctl_map; > > > +int cpumask_to_xenctl_cpumap(struct xenctl_map *, const cpumask_t *)= ; > > > +int xenctl_cpumap_to_cpumask(cpumask_var_t *, const struct xenctl_ma= p *); > > You should probably s/cpumap/map/; in the function names as well. > > > Well, I retained the old name as the callers expect to use these > functions as that old name says, i.e., passing a cpumap and wanting a > cpumask back (for the first one).=20 I obviously meant for the _second_ one here. :-P Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-hXcuUwNBz82cyq7ZBdSR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAk+FtEYACgkQk4XaBE3IOsRYIACeIduuBYK3e8mR02PHmccwdW9+ hPkAoKdyXwO0mPcpFFI1hBZA+NNblDiz =gU0H -----END PGP SIGNATURE----- --=-hXcuUwNBz82cyq7ZBdSR-- --===============6423222687116352340== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6423222687116352340==--