From: ndesaulniers@google.com Date: Wed, 31 Oct 2018 19:39:01 +0000 (-0700) Subject: include/linux/compiler*.h: define asm_volatile_goto X-Git-Tag: v4.19.48~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd45cd4530ebc7c846f83b26fef526f4c960d1ee;p=platform%2Fkernel%2Flinux-rpi3.git include/linux/compiler*.h: define asm_volatile_goto commit 8bd66d147c88bd441178c7b4c774ae5a185f19b8 upstream. asm_volatile_goto should also be defined for other compilers that support asm goto. Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). Signed-off-by: Nick Desaulniers Signed-off-by: Miguel Ojeda Signed-off-by: Nathan Chancellor Signed-off-by: Greg Kroah-Hartman --- diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index db192be..c2ded31 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -151,6 +151,10 @@ struct ftrace_likely_data { #define __assume_aligned(a, ...) #endif +#ifndef asm_volatile_goto +#define asm_volatile_goto(x...) asm goto(x) +#endif + /* Are two types/vars the same type (ignoring qualifiers)? */ #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))