Re: [PATCH v2 1/4] introduce set_restart_fn() and arch_set_restart_data()

From: Oleg Nesterov
Date: Wed Dec 04 2019 - 10:09:38 EST


On 12/03, Oleg Nesterov wrote:
>
> +static inline long set_restart_fn(struct restart_block *restart,
> + long (*fn)(struct restart_block *))
> +{
> + restart->fn = fn;
> + arch_set_restart_data(restart);
> + return -ERESTART_RESTARTBLOCK;

this needs include/errno.h (thank you kbuild test robot), I am sending v3.

Oleg.