]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/linux/compiler_types.h
add support for Clang CFI
[thirdparty/kernel/stable.git] / include / linux / compiler_types.h
index e5dd5a4ae94608b9b5d0950a81ba272f0dde8997..796935a37e373ea6ee66af6231369340ece16aff 100644 (file)
@@ -242,6 +242,10 @@ struct ftrace_likely_data {
 # define __noscs
 #endif
 
+#ifndef __nocfi
+# define __nocfi
+#endif
+
 #ifndef asm_volatile_goto
 #define asm_volatile_goto(x...) asm goto(x)
 #endif