projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] uml: remove old UM_FASTCALL, and make the thing work again
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-um
/
linkage.h
diff --git
a/include/asm-um/linkage.h
b/include/asm-um/linkage.h
index 7dfce37adc8be83424c4463e50a635acfa72650a..e3d62dcbd3565685b110bc9e1f3a76b871a365b3 100644
(file)
--- 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