[PATCH] alpha: add missing __NR_kexec_load definition

Simon Horman horms at verge.net.au
Tue Jan 24 05:39:38 PST 2017


On Tue, Dec 20, 2016 at 09:29:18AM +0100, Simon Horman wrote:
> Signed-off-by: Simon Horman <horms at verge.net.au>
> ---
>  kexec/kexec-syscall.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
> index c0d0beadf932..3b5c528d8aac 100644
> --- a/kexec/kexec-syscall.h
> +++ b/kexec/kexec-syscall.h
> @@ -48,6 +48,9 @@
>  #ifdef __m68k__
>  #define __NR_kexec_load                313
>  #endif
> +#ifdef __alpha__
> +#define __NR_kexec_load                448
> +#endif
>  #ifndef __NR_kexec_load
>  #error Unknown processor architecture.  Needs a kexec_load syscall number.
>  #endif

I have applied this but for the record alpha still seems far away from
compiling in my environment.



More information about the kexec mailing list