On 11/01/2023 11:44 am, Julien Grall wrote: > From: Julien Grall <jgr...@amazon.com> > > Both x86 and (soon) RISC-V version of init.h are empty. On Arm, it contains > a structure that should not be used by any common code. > > The structure init_info is used to store information to setup the CPU > currently being brought-up. setup.h seems to be more suitable even though > the header is getting quite crowded. > > Looking through the history, <asm/init.h> was introduced at the same > time as the ia64 port because for some reasons most of the macros > where duplicated. This was changed in 72c07f413879 and I don't > foresee any reason to require arch specific definition for init.h > in the near future. > > Therefore remove asm/init.h for both x86 and arm (the only definition > is moved in setup.h). With that RISC-V will not need to introduce > an empty header. > > Suggested-by: Jan Beulich <jbeul...@suse.com> > Signed-off-by: Julien Grall <jgr...@amazon.com>
Acked-by: Andrew Cooper <andrew.coop...@citrix.com>