1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 21da177e4SLinus Torvalds #ifndef __LINUX_COMPILER_H 31da177e4SLinus Torvalds #define __LINUX_COMPILER_H 41da177e4SLinus Torvalds 5d1515582SWill Deacon #include <linux/compiler_types.h> 6d1515582SWill Deacon 71da177e4SLinus Torvalds #ifndef __ASSEMBLY__ 81da177e4SLinus Torvalds 91da177e4SLinus Torvalds #ifdef __KERNEL__ 101da177e4SLinus Torvalds 112ed84eebSSteven Rostedt /* 122ed84eebSSteven Rostedt * Note: DISABLE_BRANCH_PROFILING can be used by special lowlevel code 132ed84eebSSteven Rostedt * to disable branch tracing on a per file basis. 142ed84eebSSteven Rostedt */ 15134e6a03SSteven Rostedt (VMware) void ftrace_likely_update(struct ftrace_likely_data *f, int val, 16d45ae1f7SSteven Rostedt (VMware) int expect, int is_constant); 17a18ef64fSArnd Bergmann #if defined(CONFIG_TRACE_BRANCH_PROFILING) \ 18a18ef64fSArnd Bergmann && !defined(DISABLE_BRANCH_PROFILING) && !defined(__CHECKER__) 191f0d69a9SSteven Rostedt #define likely_notrace(x) __builtin_expect(!!(x), 1) 201f0d69a9SSteven Rostedt #define unlikely_notrace(x) __builtin_expect(!!(x), 0) 211f0d69a9SSteven Rostedt 22d45ae1f7SSteven Rostedt (VMware) #define __branch_check__(x, expect, is_constant) ({ \ 232026d357SMikulas Patocka long ______r; \ 24134e6a03SSteven Rostedt (VMware) static struct ftrace_likely_data \ 25e04462fbSMiguel Ojeda __aligned(4) \ 2633def849SJoe Perches __section("_ftrace_annotated_branch") \ 271f0d69a9SSteven Rostedt ______f = { \ 28134e6a03SSteven Rostedt (VMware) .data.func = __func__, \ 29134e6a03SSteven Rostedt (VMware) .data.file = __FILE__, \ 30134e6a03SSteven Rostedt (VMware) .data.line = __LINE__, \ 311f0d69a9SSteven Rostedt }; \ 32d45ae1f7SSteven Rostedt (VMware) ______r = __builtin_expect(!!(x), expect); \ 33d45ae1f7SSteven Rostedt (VMware) ftrace_likely_update(&______f, ______r, \ 34d45ae1f7SSteven Rostedt (VMware) expect, is_constant); \ 351f0d69a9SSteven Rostedt ______r; \ 361f0d69a9SSteven Rostedt }) 371f0d69a9SSteven Rostedt 381f0d69a9SSteven Rostedt /* 391f0d69a9SSteven Rostedt * Using __builtin_constant_p(x) to ignore cases where the return 401f0d69a9SSteven Rostedt * value is always the same. This idea is taken from a similar patch 411f0d69a9SSteven Rostedt * written by Daniel Walker. 421f0d69a9SSteven Rostedt */ 431f0d69a9SSteven Rostedt # ifndef likely 44d45ae1f7SSteven Rostedt (VMware) # define likely(x) (__branch_check__(x, 1, __builtin_constant_p(x))) 451f0d69a9SSteven Rostedt # endif 461f0d69a9SSteven Rostedt # ifndef unlikely 47d45ae1f7SSteven Rostedt (VMware) # define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x))) 481f0d69a9SSteven Rostedt # endif 492bcd521aSSteven Rostedt 502bcd521aSSteven Rostedt #ifdef CONFIG_PROFILE_ALL_BRANCHES 512bcd521aSSteven Rostedt /* 522bcd521aSSteven Rostedt * "Define 'is'", Bill Clinton 532bcd521aSSteven Rostedt * "Define 'if'", Steven Rostedt 542bcd521aSSteven Rostedt */ 55a15fd609SLinus Torvalds #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) 56a15fd609SLinus Torvalds 57a15fd609SLinus Torvalds #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) 58a15fd609SLinus Torvalds 59a15fd609SLinus Torvalds #define __trace_if_value(cond) ({ \ 602bcd521aSSteven Rostedt static struct ftrace_branch_data \ 61e04462fbSMiguel Ojeda __aligned(4) \ 6233def849SJoe Perches __section("_ftrace_branch") \ 63a15fd609SLinus Torvalds __if_trace = { \ 642bcd521aSSteven Rostedt .func = __func__, \ 652bcd521aSSteven Rostedt .file = __FILE__, \ 662bcd521aSSteven Rostedt .line = __LINE__, \ 672bcd521aSSteven Rostedt }; \ 68a15fd609SLinus Torvalds (cond) ? \ 69a15fd609SLinus Torvalds (__if_trace.miss_hit[1]++,1) : \ 70a15fd609SLinus Torvalds (__if_trace.miss_hit[0]++,0); \ 71a15fd609SLinus Torvalds }) 72a15fd609SLinus Torvalds 732bcd521aSSteven Rostedt #endif /* CONFIG_PROFILE_ALL_BRANCHES */ 742bcd521aSSteven Rostedt 751f0d69a9SSteven Rostedt #else 761da177e4SLinus Torvalds # define likely(x) __builtin_expect(!!(x), 1) 771da177e4SLinus Torvalds # define unlikely(x) __builtin_expect(!!(x), 0) 782f0df49cSSteven Rostedt (VMware) # define likely_notrace(x) likely(x) 792f0df49cSSteven Rostedt (VMware) # define unlikely_notrace(x) unlikely(x) 801f0d69a9SSteven Rostedt #endif 811da177e4SLinus Torvalds 821da177e4SLinus Torvalds /* Optimization barrier */ 831da177e4SLinus Torvalds #ifndef barrier 843347acc6SArvind Sankar /* The "volatile" is due to gcc bugs */ 853347acc6SArvind Sankar # define barrier() __asm__ __volatile__("": : :"memory") 861da177e4SLinus Torvalds #endif 871da177e4SLinus Torvalds 887829fb09SDaniel Borkmann #ifndef barrier_data 893347acc6SArvind Sankar /* 903347acc6SArvind Sankar * This version is i.e. to prevent dead stores elimination on @ptr 913347acc6SArvind Sankar * where gcc and llvm may behave differently when otherwise using 923347acc6SArvind Sankar * normal barrier(): while gcc behavior gets along with a normal 933347acc6SArvind Sankar * barrier(), llvm needs an explicit input variable to be assumed 943347acc6SArvind Sankar * clobbered. The issue is as follows: while the inline asm might 953347acc6SArvind Sankar * access any memory it wants, the compiler could have fit all of 963347acc6SArvind Sankar * @ptr into memory registers instead, and since @ptr never escaped 973347acc6SArvind Sankar * from that, it proved that the inline asm wasn't touching any of 983347acc6SArvind Sankar * it. This version works well with both compilers, i.e. we're telling 993347acc6SArvind Sankar * the compiler that the inline asm absolutely may see the contents 1003347acc6SArvind Sankar * of @ptr. See also: https://llvm.org/bugs/show_bug.cgi?id=15495 1013347acc6SArvind Sankar */ 1023347acc6SArvind Sankar # define barrier_data(ptr) __asm__ __volatile__("": :"r"(ptr) :"memory") 1037829fb09SDaniel Borkmann #endif 1047829fb09SDaniel Borkmann 105173a3efdSArnd Bergmann /* workaround for GCC PR82365 if needed */ 106173a3efdSArnd Bergmann #ifndef barrier_before_unreachable 107173a3efdSArnd Bergmann # define barrier_before_unreachable() do { } while (0) 108173a3efdSArnd Bergmann #endif 109173a3efdSArnd Bergmann 11038938c87SDavid Daney /* Unreachable code */ 11103f16cd0SJosh Poimboeuf #ifdef CONFIG_OBJTOOL 112d0c2e691SJosh Poimboeuf /* 113d0c2e691SJosh Poimboeuf * These macros help objtool understand GCC code flow for unreachable code. 114d0c2e691SJosh Poimboeuf * The __COUNTER__ based labels are a hack to make each instance of the macros 115d0c2e691SJosh Poimboeuf * unique, to convince GCC not to merge duplicate inline asm statements. 116d0c2e691SJosh Poimboeuf */ 117f1069a87SVasily Gorbik #define __stringify_label(n) #n 118f1069a87SVasily Gorbik 119cb8a2ef0STiezhu Yang #define __annotate_reachable(c) ({ \ 120cb8a2ef0STiezhu Yang asm volatile(__stringify_label(c) ":\n\t" \ 121cb8a2ef0STiezhu Yang ".pushsection .discard.reachable\n\t" \ 122cb8a2ef0STiezhu Yang ".long " __stringify_label(c) "b - .\n\t" \ 123cb8a2ef0STiezhu Yang ".popsection\n\t"); \ 124cb8a2ef0STiezhu Yang }) 125cb8a2ef0STiezhu Yang #define annotate_reachable() __annotate_reachable(__COUNTER__) 126cb8a2ef0STiezhu Yang 127f1069a87SVasily Gorbik #define __annotate_unreachable(c) ({ \ 128f1069a87SVasily Gorbik asm volatile(__stringify_label(c) ":\n\t" \ 12996af6cd0SIngo Molnar ".pushsection .discard.unreachable\n\t" \ 130f1069a87SVasily Gorbik ".long " __stringify_label(c) "b - .\n\t" \ 131dcce50e6SJosh Poimboeuf ".popsection\n\t" : : "i" (c)); \ 132649ea4d5SJosh Poimboeuf }) 133f1069a87SVasily Gorbik #define annotate_unreachable() __annotate_unreachable(__COUNTER__) 134f1069a87SVasily Gorbik 13587b512deSJosh Poimboeuf /* Annotate a C jump table to allow objtool to follow the code flow */ 136c5b1184dSTiezhu Yang #define __annotate_jump_table __section(".rodata..c_jump_table,\"a\",@progbits #") 13787b512deSJosh Poimboeuf 13803f16cd0SJosh Poimboeuf #else /* !CONFIG_OBJTOOL */ 139cb8a2ef0STiezhu Yang #define annotate_reachable() 140649ea4d5SJosh Poimboeuf #define annotate_unreachable() 14187b512deSJosh Poimboeuf #define __annotate_jump_table 14203f16cd0SJosh Poimboeuf #endif /* CONFIG_OBJTOOL */ 143649ea4d5SJosh Poimboeuf 144*c837de38SPeter Zijlstra /* 145*c837de38SPeter Zijlstra * Mark a position in code as unreachable. This can be used to 146*c837de38SPeter Zijlstra * suppress control flow warnings after asm blocks that transfer 147*c837de38SPeter Zijlstra * control elsewhere. 148*c837de38SPeter Zijlstra */ 149fe0640ebSndesaulniers@google.com #define unreachable() do { \ 150fe0640ebSndesaulniers@google.com annotate_unreachable(); \ 151*c837de38SPeter Zijlstra barrier_before_unreachable(); \ 152fe0640ebSndesaulniers@google.com __builtin_unreachable(); \ 153fe0640ebSndesaulniers@google.com } while (0) 15438938c87SDavid Daney 155b67067f1SNicholas Piggin /* 156b67067f1SNicholas Piggin * KENTRY - kernel entry point 157b67067f1SNicholas Piggin * This can be used to annotate symbols (functions or data) that are used 158b67067f1SNicholas Piggin * without their linker symbol being referenced explicitly. For example, 159b67067f1SNicholas Piggin * interrupt vector handlers, or functions in the kernel image that are found 160b67067f1SNicholas Piggin * programatically. 161b67067f1SNicholas Piggin * 162b67067f1SNicholas Piggin * Not required for symbols exported with EXPORT_SYMBOL, or initcalls. Those 163b67067f1SNicholas Piggin * are handled in their own way (with KEEP() in linker scripts). 164b67067f1SNicholas Piggin * 165b67067f1SNicholas Piggin * KENTRY can be avoided if the symbols in question are marked as KEEP() in the 166b67067f1SNicholas Piggin * linker script. For example an architecture could KEEP() its entire 167b67067f1SNicholas Piggin * boot/exception vector code rather than annotate each function and data. 168b67067f1SNicholas Piggin */ 169b67067f1SNicholas Piggin #ifndef KENTRY 170b67067f1SNicholas Piggin # define KENTRY(sym) \ 171b67067f1SNicholas Piggin extern typeof(sym) sym; \ 172b67067f1SNicholas Piggin static const unsigned long __kentry_##sym \ 173b67067f1SNicholas Piggin __used \ 174a25c13b3SNick Desaulniers __attribute__((__section__("___kentry+" #sym))) \ 175b67067f1SNicholas Piggin = (unsigned long)&sym; 176b67067f1SNicholas Piggin #endif 177b67067f1SNicholas Piggin 1781da177e4SLinus Torvalds #ifndef RELOC_HIDE 1791da177e4SLinus Torvalds # define RELOC_HIDE(ptr, off) \ 1801da177e4SLinus Torvalds ({ unsigned long __ptr; \ 1811da177e4SLinus Torvalds __ptr = (unsigned long) (ptr); \ 1821da177e4SLinus Torvalds (typeof(ptr)) (__ptr + (off)); }) 1831da177e4SLinus Torvalds #endif 1841da177e4SLinus Torvalds 185f6b5f1a5SGuenter Roeck #define absolute_pointer(val) RELOC_HIDE((void *)(val), 0) 186f6b5f1a5SGuenter Roeck 187fe8c8a12SCesar Eduardo Barros #ifndef OPTIMIZER_HIDE_VAR 1883e2ffd65SMichael S. Tsirkin /* Make the optimizer believe the variable can be manipulated arbitrarily. */ 1893e2ffd65SMichael S. Tsirkin #define OPTIMIZER_HIDE_VAR(var) \ 1903e2ffd65SMichael S. Tsirkin __asm__ ("" : "=r" (var) : "0" (var)) 191fe8c8a12SCesar Eduardo Barros #endif 192fe8c8a12SCesar Eduardo Barros 193a8306f2dSNick Desaulniers #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) 1946f33d587SRusty Russell 19537d1a04bSThomas Gleixner /** 19637d1a04bSThomas Gleixner * data_race - mark an expression as containing intentional data races 19737d1a04bSThomas Gleixner * 19837d1a04bSThomas Gleixner * This data_race() macro is useful for situations in which data races 19937d1a04bSThomas Gleixner * should be forgiven. One example is diagnostic code that accesses 20037d1a04bSThomas Gleixner * shared variables but is not a part of the core synchronization design. 201020e6c22SPaul E. McKenney * For example, if accesses to a given variable are protected by a lock, 202020e6c22SPaul E. McKenney * except for diagnostic code, then the accesses under the lock should 203020e6c22SPaul E. McKenney * be plain C-language accesses and those in the diagnostic code should 204020e6c22SPaul E. McKenney * use data_race(). This way, KCSAN will complain if buggy lockless 205020e6c22SPaul E. McKenney * accesses to that variable are introduced, even if the buggy accesses 206020e6c22SPaul E. McKenney * are protected by READ_ONCE() or WRITE_ONCE(). 20737d1a04bSThomas Gleixner * 20837d1a04bSThomas Gleixner * This macro *does not* affect normal code generation, but is a hint 209020e6c22SPaul E. McKenney * to tooling that data races here are to be ignored. If the access must 210020e6c22SPaul E. McKenney * be atomic *and* KCSAN should ignore the access, use both data_race() 211020e6c22SPaul E. McKenney * and READ_ONCE(), for example, data_race(READ_ONCE(x)). 21237d1a04bSThomas Gleixner */ 21337d1a04bSThomas Gleixner #define data_race(expr) \ 214d976441fSAndrey Ryabinin ({ \ 21537d1a04bSThomas Gleixner __kcsan_disable_current(); \ 2167c812814SAlexey Dobriyan __auto_type __v = (expr); \ 21737d1a04bSThomas Gleixner __kcsan_enable_current(); \ 21837d1a04bSThomas Gleixner __v; \ 219d976441fSAndrey Ryabinin }) 220230fa253SChristian Borntraeger 2211da177e4SLinus Torvalds #endif /* __KERNEL__ */ 2221da177e4SLinus Torvalds 2237290d580SArd Biesheuvel /* 2247290d580SArd Biesheuvel * Force the compiler to emit 'sym' as a symbol, so that we can reference 2257290d580SArd Biesheuvel * it from inline assembler. Necessary in case 'sym' could be inlined 2267290d580SArd Biesheuvel * otherwise, or eliminated entirely due to lack of references that are 2277290d580SArd Biesheuvel * visible to the compiler. 2287290d580SArd Biesheuvel */ 22992efda8eSSami Tolvanen #define ___ADDRESSABLE(sym, __attrs) \ 23092efda8eSSami Tolvanen static void * __used __attrs \ 231ed2f752eSUros Bizjak __UNIQUE_ID(__PASTE(__addressable_,sym)) = (void *)(uintptr_t)&sym; 23292efda8eSSami Tolvanen #define __ADDRESSABLE(sym) \ 23392efda8eSSami Tolvanen ___ADDRESSABLE(sym, __section(".discard.addressable")) 2347290d580SArd Biesheuvel 2357290d580SArd Biesheuvel /** 2367290d580SArd Biesheuvel * offset_to_ptr - convert a relative memory offset to an absolute pointer 2377290d580SArd Biesheuvel * @off: the address of the 32-bit offset value 2387290d580SArd Biesheuvel */ 2397290d580SArd Biesheuvel static inline void *offset_to_ptr(const int *off) 2407290d580SArd Biesheuvel { 2417290d580SArd Biesheuvel return (void *)((unsigned long)off + *off); 2427290d580SArd Biesheuvel } 2437290d580SArd Biesheuvel 2441da177e4SLinus Torvalds #endif /* __ASSEMBLY__ */ 2451da177e4SLinus Torvalds 246d7a516c6SPhilipp Reisner #ifdef __CHECKER__ 247d7a516c6SPhilipp Reisner #define __BUILD_BUG_ON_ZERO_MSG(e, msg) (0) 248d7a516c6SPhilipp Reisner #else /* __CHECKER__ */ 249d7a516c6SPhilipp Reisner #define __BUILD_BUG_ON_ZERO_MSG(e, msg) ((int)sizeof(struct {_Static_assert(!(e), msg);})) 250d7a516c6SPhilipp Reisner #endif /* __CHECKER__ */ 251d7a516c6SPhilipp Reisner 252ec0bbef6SMiguel Ojeda /* &a[0] degrades to a pointer: a different type from an array */ 253d7a516c6SPhilipp Reisner #define __must_be_array(a) __BUILD_BUG_ON_ZERO_MSG(__same_type((a), &(a)[0]), "must be array") 254ec0bbef6SMiguel Ojeda 255559048d1SKees Cook /* Require C Strings (i.e. NUL-terminated) lack the "nonstring" attribute. */ 256d7a516c6SPhilipp Reisner #define __must_be_cstr(p) \ 257d7a516c6SPhilipp Reisner __BUILD_BUG_ON_ZERO_MSG(__annotated(p, nonstring), "must be cstr (NUL-terminated)") 258559048d1SKees Cook 259a9a3ed1eSBorislav Petkov /* 260598f0ac1SDavid Laight * This returns a constant expression while determining if an argument is 261598f0ac1SDavid Laight * a constant expression, most importantly without evaluating the argument. 262598f0ac1SDavid Laight * Glory to Martin Uecker <Martin.Uecker@med.uni-goettingen.de> 263c3b9a398SKees Cook * 264c3b9a398SKees Cook * Details: 265c3b9a398SKees Cook * - sizeof() return an integer constant expression, and does not evaluate 266c3b9a398SKees Cook * the value of its operand; it only examines the type of its operand. 267c3b9a398SKees Cook * - The results of comparing two integer constant expressions is also 268c3b9a398SKees Cook * an integer constant expression. 269c3b9a398SKees Cook * - The first literal "8" isn't important. It could be any literal value. 270c3b9a398SKees Cook * - The second literal "8" is to avoid warnings about unaligned pointers; 271c3b9a398SKees Cook * this could otherwise just be "1". 272c3b9a398SKees Cook * - (long)(x) is used to avoid warnings about 64-bit types on 32-bit 273c3b9a398SKees Cook * architectures. 274c3b9a398SKees Cook * - The C Standard defines "null pointer constant", "(void *)0", as 275c3b9a398SKees Cook * distinct from other void pointers. 276c3b9a398SKees Cook * - If (x) is an integer constant expression, then the "* 0l" resolves 277c3b9a398SKees Cook * it into an integer constant expression of value 0. Since it is cast to 278c3b9a398SKees Cook * "void *", this makes the second operand a null pointer constant. 279c3b9a398SKees Cook * - If (x) is not an integer constant expression, then the second operand 280c3b9a398SKees Cook * resolves to a void pointer (but not a null pointer constant: the value 281c3b9a398SKees Cook * is not an integer constant 0). 282c3b9a398SKees Cook * - The conditional operator's third operand, "(int *)8", is an object 283c3b9a398SKees Cook * pointer (to type "int"). 284c3b9a398SKees Cook * - The behavior (including the return type) of the conditional operator 285c3b9a398SKees Cook * ("operand1 ? operand2 : operand3") depends on the kind of expressions 286c3b9a398SKees Cook * given for the second and third operands. This is the central mechanism 287c3b9a398SKees Cook * of the macro: 288c3b9a398SKees Cook * - When one operand is a null pointer constant (i.e. when x is an integer 289c3b9a398SKees Cook * constant expression) and the other is an object pointer (i.e. our 290c3b9a398SKees Cook * third operand), the conditional operator returns the type of the 291d7a62d0aSThorsten Blum * object pointer operand (i.e. "int *"). Here, within the sizeof(), we 292c3b9a398SKees Cook * would then get: 293c3b9a398SKees Cook * sizeof(*((int *)(...)) == sizeof(int) == 4 294c3b9a398SKees Cook * - When one operand is a void pointer (i.e. when x is not an integer 295c3b9a398SKees Cook * constant expression) and the other is an object pointer (i.e. our 296c3b9a398SKees Cook * third operand), the conditional operator returns a "void *" type. 297c3b9a398SKees Cook * Here, within the sizeof(), we would then get: 298c3b9a398SKees Cook * sizeof(*((void *)(...)) == sizeof(void) == 1 299c3b9a398SKees Cook * - The equality comparison to "sizeof(int)" therefore depends on (x): 300c3b9a398SKees Cook * sizeof(int) == sizeof(int) (x) was a constant expression 301c3b9a398SKees Cook * sizeof(int) != sizeof(void) (x) was not a constant expression 302598f0ac1SDavid Laight */ 303598f0ac1SDavid Laight #define __is_constexpr(x) \ 304598f0ac1SDavid Laight (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8))) 305598f0ac1SDavid Laight 306598f0ac1SDavid Laight /* 307dcf8e563SBart Van Assche * Whether 'type' is a signed type or an unsigned type. Supports scalar types, 308dcf8e563SBart Van Assche * bool and also pointer types. 309dcf8e563SBart Van Assche */ 310dcf8e563SBart Van Assche #define is_signed_type(type) (((type)(-1)) < (__force type)1) 3114b21d25bSKees Cook #define is_unsigned_type(type) (!is_signed_type(type)) 312dcf8e563SBart Van Assche 313dcf8e563SBart Van Assche /* 31422f54687SLinus Torvalds * Useful shorthand for "is this condition known at compile-time?" 31522f54687SLinus Torvalds * 31622f54687SLinus Torvalds * Note that the condition may involve non-constant values, 31722f54687SLinus Torvalds * but the compiler may know enough about the details of the 31822f54687SLinus Torvalds * values to determine that the condition is statically true. 31922f54687SLinus Torvalds */ 32022f54687SLinus Torvalds #define statically_true(x) (__builtin_constant_p(x) && (x)) 32122f54687SLinus Torvalds 32222f54687SLinus Torvalds /* 323a9a3ed1eSBorislav Petkov * This is needed in functions which generate the stack canary, see 324a9a3ed1eSBorislav Petkov * arch/x86/kernel/smpboot.c::start_secondary() for an example. 325a9a3ed1eSBorislav Petkov */ 326a9a3ed1eSBorislav Petkov #define prevent_tail_call_optimization() mb() 327a9a3ed1eSBorislav Petkov 328e506ea45SWill Deacon #include <asm/rwonce.h> 329e506ea45SWill Deacon 3301da177e4SLinus Torvalds #endif /* __LINUX_COMPILER_H */ 331