Re: [PATCH] xen/livepatch: Move init_or_livepatch_* into xen/init.h
Ross Lagerwall <[email protected]> Mon, 3 Aug 2026 15:38:21 +0000
| Newsgroups | org.xenproject.lists.xen-devel |
|---|---|
| Message-ID | <CH8PR03MB8274CA3275B26577BCB2109FF0D52@CH8PR03MB8274.namprd03.prod.outlook.com> |
> From: Andrew Cooper <[email protected]>=0A= > Sent: Monday, August 3, 2026 4:09 PM=0A= > To: Xen-devel=0A= > Cc: Andrew Cooper; Anthony PERARD; Michal Orzel; Jan Beulich; Julien Gral= l; Roger Pau Monn=E9; Stefano Stabellini; Oleksii Kurochko; Ross Lagerwall= =0A= > Subject: [PATCH] xen/livepatch: Move init_or_livepatch_* into xen/init.h= =0A= > =0A= > xen/livepatch.h is a fairly heavyweight header pulling in public/sysctl.h= , and=0A= > a reasonable number of users care only for the init_or_livepatch_* tags o= nly.=0A= > =0A= > They're arguably more init than livepatch anyway, and by moving them to= =0A= > init.h, we can remove a number of includes.=0A= > =0A= > The include in vsprintf was leftover from early versions of the work. In= the=0A= > version committed, d5ccf4482e4f ("x86, xsplice: Print payload's symbol na= me=0A= > and payload name in backtraces"), symbol_lookup() had been adjusted to ha= ndle=0A= > the livepatch symbol names properly.=0A= > =0A= > No functional change.=0A= > =0A= > Signed-off-by: Andrew Cooper <[email protected]>=0A= =0A= Reviewed-by: Ross Lagerwall <[email protected]>=0A= =0A= Thanks=0A=