Paul Gortmaker | 186f436 | 2016-07-13 20:18:56 -0400 | [diff] [blame] | 1 | #include <linux/export.h> |
| 2 | #include <linux/spinlock_types.h> |
Ingo Molnar | 3713567 | 2008-05-14 08:10:31 +0200 | [diff] [blame] | 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #include <asm/checksum.h> |
Theodore Ts'o | 8232fd6 | 2007-11-26 20:42:19 +0100 | [diff] [blame] | 5 | #include <asm/pgtable.h> |
Ingo Molnar | 3713567 | 2008-05-14 08:10:31 +0200 | [diff] [blame] | 6 | #include <asm/desc.h> |
Abhishek Sagar | 395a59d | 2008-06-21 23:47:27 +0530 | [diff] [blame] | 7 | #include <asm/ftrace.h> |
Ingo Molnar | 3713567 | 2008-05-14 08:10:31 +0200 | [diff] [blame] | 8 | |
Steven Rostedt | 606576c | 2008-10-06 19:06:12 -0400 | [diff] [blame] | 9 | #ifdef CONFIG_FUNCTION_TRACER |
Ingo Molnar | 3713567 | 2008-05-14 08:10:31 +0200 | [diff] [blame] | 10 | /* mcount is defined in assembly */ |
| 11 | EXPORT_SYMBOL(mcount); |
| 12 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | |
Arjan van de Ven | 79e1dd0 | 2009-09-30 17:07:54 +0200 | [diff] [blame] | 14 | /* |
| 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 Dumazet | 04edbde | 2009-10-01 07:30:38 +0200 | [diff] [blame] | 19 | #ifndef CONFIG_X86_CMPXCHG64 |
Arjan van de Ven | 79e1dd0 | 2009-09-30 17:07:54 +0200 | [diff] [blame] | 20 | extern void cmpxchg8b_emu(void); |
| 21 | EXPORT_SYMBOL(cmpxchg8b_emu); |
Eric Dumazet | 04edbde | 2009-10-01 07:30:38 +0200 | [diff] [blame] | 22 | #endif |
Arjan van de Ven | 79e1dd0 | 2009-09-30 17:07:54 +0200 | [diff] [blame] | 23 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | /* Networking helper routines. */ |
| 25 | EXPORT_SYMBOL(csum_partial_copy_generic); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
| 27 | EXPORT_SYMBOL(__get_user_1); |
| 28 | EXPORT_SYMBOL(__get_user_2); |
| 29 | EXPORT_SYMBOL(__get_user_4); |
Ville Syrjälä | 96477b4 | 2012-12-12 13:34:03 +0200 | [diff] [blame] | 30 | EXPORT_SYMBOL(__get_user_8); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | |
| 32 | EXPORT_SYMBOL(__put_user_1); |
| 33 | EXPORT_SYMBOL(__put_user_2); |
| 34 | EXPORT_SYMBOL(__put_user_4); |
| 35 | EXPORT_SYMBOL(__put_user_8); |
| 36 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | EXPORT_SYMBOL(strstr); |
| 38 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | EXPORT_SYMBOL(csum_partial); |
Theodore Ts'o | 8232fd6 | 2007-11-26 20:42:19 +0100 | [diff] [blame] | 40 | EXPORT_SYMBOL(empty_zero_page); |
Peter Zijlstra | 1a338ac | 2013-08-14 14:51:00 +0200 | [diff] [blame] | 41 | |
| 42 | #ifdef CONFIG_PREEMPT |
| 43 | EXPORT_SYMBOL(___preempt_schedule); |
Frederic Weisbecker | 4eaca0a | 2015-06-04 17:39:08 +0200 | [diff] [blame] | 44 | EXPORT_SYMBOL(___preempt_schedule_notrace); |
Peter Zijlstra | 1a338ac | 2013-08-14 14:51:00 +0200 | [diff] [blame] | 45 | #endif |
Borislav Petkov | f596710 | 2016-05-30 12:56:27 +0200 | [diff] [blame] | 46 | |
| 47 | EXPORT_SYMBOL(__sw_hweight32); |