blob: 1f9b878ef5efa6b46a3e4608be10c259d4a96c7d [file] [log] [blame]
Paul Gortmaker186f4362016-07-13 20:18:56 -04001#include <linux/export.h>
2#include <linux/spinlock_types.h>
Ingo Molnar37135672008-05-14 08:10:31 +02003
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#include <asm/checksum.h>
Theodore Ts'o8232fd62007-11-26 20:42:19 +01005#include <asm/pgtable.h>
Ingo Molnar37135672008-05-14 08:10:31 +02006#include <asm/desc.h>
Abhishek Sagar395a59d2008-06-21 23:47:27 +05307#include <asm/ftrace.h>
Ingo Molnar37135672008-05-14 08:10:31 +02008
Steven Rostedt606576c2008-10-06 19:06:12 -04009#ifdef CONFIG_FUNCTION_TRACER
Ingo Molnar37135672008-05-14 08:10:31 +020010/* mcount is defined in assembly */
11EXPORT_SYMBOL(mcount);
12#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Arjan van de Ven79e1dd02009-09-30 17:07:54 +020014/*
15 * Note, this is a prototype to get at the symbol for
16 * the export, but dont use it from C code, it is used
17 * by assembly code and is not using C calling convention!
18 */
Eric Dumazet04edbde2009-10-01 07:30:38 +020019#ifndef CONFIG_X86_CMPXCHG64
Arjan van de Ven79e1dd02009-09-30 17:07:54 +020020extern void cmpxchg8b_emu(void);
21EXPORT_SYMBOL(cmpxchg8b_emu);
Eric Dumazet04edbde2009-10-01 07:30:38 +020022#endif
Arjan van de Ven79e1dd02009-09-30 17:07:54 +020023
Linus Torvalds1da177e2005-04-16 15:20:36 -070024/* Networking helper routines. */
25EXPORT_SYMBOL(csum_partial_copy_generic);
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27EXPORT_SYMBOL(__get_user_1);
28EXPORT_SYMBOL(__get_user_2);
29EXPORT_SYMBOL(__get_user_4);
Ville Syrjälä96477b42012-12-12 13:34:03 +020030EXPORT_SYMBOL(__get_user_8);
Linus Torvalds1da177e2005-04-16 15:20:36 -070031
32EXPORT_SYMBOL(__put_user_1);
33EXPORT_SYMBOL(__put_user_2);
34EXPORT_SYMBOL(__put_user_4);
35EXPORT_SYMBOL(__put_user_8);
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037EXPORT_SYMBOL(strstr);
38
Linus Torvalds1da177e2005-04-16 15:20:36 -070039EXPORT_SYMBOL(csum_partial);
Theodore Ts'o8232fd62007-11-26 20:42:19 +010040EXPORT_SYMBOL(empty_zero_page);
Peter Zijlstra1a338ac2013-08-14 14:51:00 +020041
42#ifdef CONFIG_PREEMPT
43EXPORT_SYMBOL(___preempt_schedule);
Frederic Weisbecker4eaca0a2015-06-04 17:39:08 +020044EXPORT_SYMBOL(___preempt_schedule_notrace);
Peter Zijlstra1a338ac2013-08-14 14:51:00 +020045#endif
Borislav Petkovf5967102016-05-30 12:56:27 +020046
47EXPORT_SYMBOL(__sw_hweight32);