diff options
Diffstat (limited to 'include/linux/compiler-gcc.h')
-rw-r--r-- | include/linux/compiler-gcc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 25d3dd6b2702..4d36b27214fd 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h | |||
@@ -79,14 +79,6 @@ | |||
79 | #define __noretpoline __attribute__((indirect_branch("keep"))) | 79 | #define __noretpoline __attribute__((indirect_branch("keep"))) |
80 | #endif | 80 | #endif |
81 | 81 | ||
82 | /* | ||
83 | * it doesn't make sense on ARM (currently the only user of __naked) | ||
84 | * to trace naked functions because then mcount is called without | ||
85 | * stack and frame pointer being set up and there is no chance to | ||
86 | * restore the lr register to the value before mcount was called. | ||
87 | */ | ||
88 | #define __naked __attribute__((naked)) notrace | ||
89 | |||
90 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) | 82 | #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) |
91 | 83 | ||
92 | #define __optimize(level) __attribute__((__optimize__(level))) | 84 | #define __optimize(level) __attribute__((__optimize__(level))) |