Re: [PATCH v2] kexec: move machine_kexec_post_load() to public interface

2021-02-23 Thread Will Deacon
On Mon, Feb 22, 2021 at 11:16:38PM -0600, Eric W. Biederman wrote: > Will Deacon writes: > > > On Fri, 19 Feb 2021 14:51:42 -0500, Pavel Tatashin wrote: > >> machine_kexec_post_load() is called after kexec load is finished. It must > >> declared in public header not in kexec_internal.h > >> >

Re: [PATCH v2] kexec: move machine_kexec_post_load() to public interface

2021-02-22 Thread Eric W. Biederman
Will Deacon writes: > On Fri, 19 Feb 2021 14:51:42 -0500, Pavel Tatashin wrote: >> machine_kexec_post_load() is called after kexec load is finished. It must >> declared in public header not in kexec_internal.h >> >> Fixes the following compiler warning: >> >>

Re: [PATCH v2] kexec: move machine_kexec_post_load() to public interface

2021-02-22 Thread Will Deacon
On Fri, 19 Feb 2021 14:51:42 -0500, Pavel Tatashin wrote: > machine_kexec_post_load() is called after kexec load is finished. It must > declared in public header not in kexec_internal.h > > Fixes the following compiler warning: > > arch/arm64/kernel/machine_kexec.c:62:5: warning: no previous

[PATCH v2] kexec: move machine_kexec_post_load() to public interface

2021-02-19 Thread Pavel Tatashin
machine_kexec_post_load() is called after kexec load is finished. It must declared in public header not in kexec_internal.h Fixes the following compiler warning: arch/arm64/kernel/machine_kexec.c:62:5: warning: no previous prototype for function 'machine_kexec_post_load' [-Wmissing-prototypes]