[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191204150921.GA14871@redhat.com>
Date: Wed, 4 Dec 2019 16:09:21 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Andy Lutomirski <luto@...nel.org>, Borislav Petkov <bp@...en8.de>,
Ingo Molnar <mingo@...nel.org>,
Jan Kratochvil <jan.kratochvil@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Pedro Alves <palves@...hat.com>, Peter Anvin <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: Re: [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.
Powered by blists - more mailing lists