x86/headers: Include spinlock_types.h in x8664_ksyms_64.c for missing spinlock_t
[deliverable/linux.git] / arch / x86 / kernel / x8664_ksyms_64.c
CommitLineData
2ee60e17
AK
1/* Exports for assembly files.
2 All C exports should go in the respective C files. */
3
186f4360 4#include <linux/export.h>
a203800d 5#include <linux/spinlock_types.h>
1da177e4 6#include <linux/smp.h>
1da177e4 7
37135677
IM
8#include <net/checksum.h>
9
1da177e4 10#include <asm/processor.h>
1da177e4 11#include <asm/pgtable.h>
37135677 12#include <asm/uaccess.h>
70fd93c9 13#include <asm/desc.h>
395a59d0 14#include <asm/ftrace.h>
1da177e4 15
606576ce 16#ifdef CONFIG_FUNCTION_TRACER
d57c5d51
SR
17/* mcount and __fentry__ are defined in assembly */
18#ifdef CC_USING_FENTRY
19EXPORT_SYMBOL(__fentry__);
20#else
37135677
IM
21EXPORT_SYMBOL(mcount);
22#endif
d57c5d51 23#endif
1da177e4 24
1da177e4
LT
25EXPORT_SYMBOL(__get_user_1);
26EXPORT_SYMBOL(__get_user_2);
27EXPORT_SYMBOL(__get_user_4);
28EXPORT_SYMBOL(__get_user_8);
29EXPORT_SYMBOL(__put_user_1);
30EXPORT_SYMBOL(__put_user_2);
31EXPORT_SYMBOL(__put_user_4);
32EXPORT_SYMBOL(__put_user_8);
33
1b1d9258
JB
34EXPORT_SYMBOL(copy_user_generic_string);
35EXPORT_SYMBOL(copy_user_generic_unrolled);
954e482b 36EXPORT_SYMBOL(copy_user_enhanced_fast_string);
0812a579 37EXPORT_SYMBOL(__copy_user_nocache);
9f0cf4ad 38EXPORT_SYMBOL(_copy_from_user);
3c93ca00 39EXPORT_SYMBOL(_copy_to_user);
1da177e4 40
92b0729c
TL
41EXPORT_SYMBOL_GPL(memcpy_mcsafe);
42
1da177e4
LT
43EXPORT_SYMBOL(copy_page);
44EXPORT_SYMBOL(clear_page);
45
89804c02
IM
46EXPORT_SYMBOL(csum_partial);
47
8000a83f
PC
48/*
49 * Export string functions. We normally rely on gcc builtin for most of these,
50 * but gcc sometimes decides not to inline them.
51 */
1da177e4
LT
52#undef memcpy
53#undef memset
54#undef memmove
1da177e4 55
393f203f
AR
56extern void *__memset(void *, int, __kernel_size_t);
57extern void *__memcpy(void *, const void *, __kernel_size_t);
58extern void *__memmove(void *, const void *, __kernel_size_t);
8000a83f
PC
59extern void *memset(void *, int, __kernel_size_t);
60extern void *memcpy(void *, const void *, __kernel_size_t);
393f203f
AR
61extern void *memmove(void *, const void *, __kernel_size_t);
62
63EXPORT_SYMBOL(__memset);
64EXPORT_SYMBOL(__memcpy);
65EXPORT_SYMBOL(__memmove);
1da177e4
LT
66
67EXPORT_SYMBOL(memset);
1da177e4 68EXPORT_SYMBOL(memcpy);
9599ec04 69EXPORT_SYMBOL(memmove);
1da177e4 70
0bdf525f
AD
71#ifndef CONFIG_DEBUG_VIRTUAL
72EXPORT_SYMBOL(phys_base);
73#endif
1da177e4 74EXPORT_SYMBOL(empty_zero_page);
e6428047
RR
75#ifndef CONFIG_PARAVIRT
76EXPORT_SYMBOL(native_load_gs_index);
77#endif
1a338ac3
PZ
78
79#ifdef CONFIG_PREEMPT
80EXPORT_SYMBOL(___preempt_schedule);
4eaca0a8 81EXPORT_SYMBOL(___preempt_schedule_notrace);
1a338ac3 82#endif
This page took 0.844661 seconds and 5 git commands to generate.