From: Ahmad Fatoum <[email protected]> We define noinline as a macro in <linux/compiler_types.h>, which we don't yet include here, but might in future with the Kbuild update.
Prepare for that by using the double underscore version instead, which won't conflict. Signed-off-by: Ahmad Fatoum <[email protected]> --- arch/sandbox/os/setjmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/os/setjmp.c b/arch/sandbox/os/setjmp.c index cbf1182ed591..787675349643 100644 --- a/arch/sandbox/os/setjmp.c +++ b/arch/sandbox/os/setjmp.c @@ -39,7 +39,7 @@ static struct { * (from the signal handler when it is not signal handling, read ahead * for more information). */ -static void __attribute__((noinline, noreturn)) +static void __attribute__((__noinline__, noreturn)) coroutine_bootstrap(void (*entry)(void)) { for (;;) -- 2.47.3
