git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
compiler-gcc.h: gcc-4.5 needs noclone and noinline on __naked functions
[sfrench/cifs-2.6.git]
/
include
/
linux
/
compiler-gcc4.h
diff --git
a/include/linux/compiler-gcc4.h
b/include/linux/compiler-gcc4.h
index 94dea3ffbfa19576e2cd8bb59b56658465101b49..fcfa5b9a4317af2b272d06073d7af51019ebf321 100644
(file)
--- a/
include/linux/compiler-gcc4.h
+++ b/
include/linux/compiler-gcc4.h
@@
-48,6
+48,10
@@
* unreleased. Really, we need to have autoconf for the kernel.
*/
#define unreachable() __builtin_unreachable()
+
+/* Mark a function definition as prohibited from being cloned. */
+#define __noclone __attribute__((__noclone__))
+
#endif
#endif