git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-um
/
linkage.h
diff --git
a/include/asm-um/linkage.h
b/include/asm-um/linkage.h
index
2701165
..
78b8624
100644
(file)
--- a/
include/asm-um/linkage.h
+++ b/
include/asm-um/linkage.h
@@
-1,7
+1,13
@@
-#ifndef __ASM_LINKAGE_H
-#define __ASM_LINKAGE_H
+#ifndef __ASM_
UM_
LINKAGE_H
+#define __ASM_
UM_
LINKAGE_H
-#define FASTCALL(x) x __attribute__((regparm(3)))
-#define fastcall __attribute__((regparm(3)))
+#include "asm/arch/linkage.h"
+
+
+/* <linux/linkage.h> will pick sane defaults */
+#ifdef CONFIG_GPROF
+#undef FASTCALL
+#undef fastcall
+#endif
#endif
#endif