Messages in this thread | | | Subject | Re: [PATCH 9/9] xen/x86: adjust data placement | From | Juergen Gross <> | Date | Thu, 23 Sep 2021 17:04:46 +0200 |
| |
On 07.09.21 12:13, Jan Beulich wrote: > Both xen_pvh and xen_start_flags get written just once aeryl during > init. Using the respective annotation then allows the open-coded placing > in .data to go away. > > Additionally the former, like the latter, wants exporting, or else > xen_pvh_domain() can't be used from modules. > > Signed-off-by: Jan Beulich <jbeulich@suse.com> > --- > I have to admit that it is completely unclear to me which form of > exporting I should have used: xen_domain_type is GPL-only while > xen_start_flags is not, yet both are used in similar ways, extending to > xen_pvh.
I'd use EXPORT_SYMBOL_GPL(xen_pvh).
Juergen [unhandled content-type:application/pgp-keys][unhandled content-type:application/pgp-signature] | |