lkml.org 
[lkml]   [2019]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/4] introduce set_restart_fn() and arch_set_restart_data()
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.

\
 
 \ /
  Last update: 2019-12-04 16:11    [W:0.224 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site