summaryrefslogtreecommitdiffstats
path: root/include/asm-um/linkage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/linkage.h')
-rw-r--r--include/asm-um/linkage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-um/linkage.h b/include/asm-um/linkage.h
index 7dfce37adc8..e3d62dcbd35 100644
--- a/include/asm-um/linkage.h
+++ b/include/asm-um/linkage.h
@@ -3,4 +3,12 @@
#include "asm/arch/linkage.h"
+#include <linux/config.h>
+
+/* <linux/linkage.h> will pick sane defaults */
+#ifdef CONFIG_GPROF
+#undef FASTCALL
+#undef fastcall
+#endif
+
#endif