On 15/01/2021 10:05, Jan Beulich wrote: > Rather than open-coding commonly used constructs in yet more places when > pulling in zstd decompression support (and its xxhash prereq), pull out > the custom bits into a commonly used header (for the hypervisor build; > the tool stack and stubdom builds of libxenguest will still remain in > need of similarly taking care of). For now this is limited to x86, where > custom logic isn't needed (considering this is going to be used in init > code only, even using alternatives patching to use MOVBE doesn't seem > worthwhile). > > No change in generated code. > > Signed-off-by: Jan Beulich <jbeul...@suse.com> > --- > Iirc use of include/asm-generic/ was disliked, hence the generic header > goes into include/xen/.
Really? I think its going to be the only sane way of fixing up some of our header tangle. This series probably isn't the right place to fix this argument, so Acked-by: Andrew Cooper <andrew.coop...@citrix.com> However, presumably we're going to want an ARM side of this imminently?