Merge branch 'auto-ftrace-next' into tracing/for-linus
[sfrench/cifs-2.6.git] / arch / x86 / kernel / i386_ksyms_32.c
index 061627806a2d98320032f27e151ab08b3d8559fe..dd7ebee446afaab244041868b67d89833b8d00c5 100644 (file)
@@ -1,13 +1,15 @@
 #include <linux/module.h>
-#include <asm/semaphore.h>
+
 #include <asm/checksum.h>
-#include <asm/desc.h>
 #include <asm/pgtable.h>
+#include <asm/desc.h>
+#include <asm/ftrace.h>
+
+#ifdef CONFIG_FTRACE
+/* mcount is defined in assembly */
+EXPORT_SYMBOL(mcount);
+#endif
 
-EXPORT_SYMBOL(__down_failed);
-EXPORT_SYMBOL(__down_failed_interruptible);
-EXPORT_SYMBOL(__down_failed_trylock);
-EXPORT_SYMBOL(__up_wakeup);
 /* Networking helper routines. */
 EXPORT_SYMBOL(csum_partial_copy_generic);