i386_ksyms_32.c 1.0 KB
Newer Older
1 2
#include <linux/export.h>
#include <linux/spinlock_types.h>
I
Ingo Molnar 已提交
3

L
Linus Torvalds 已提交
4
#include <asm/checksum.h>
5
#include <asm/pgtable.h>
I
Ingo Molnar 已提交
6
#include <asm/desc.h>
7
#include <asm/ftrace.h>
I
Ingo Molnar 已提交
8

9
#ifdef CONFIG_FUNCTION_TRACER
I
Ingo Molnar 已提交
10 11 12
/* mcount is defined in assembly */
EXPORT_SYMBOL(mcount);
#endif
L
Linus Torvalds 已提交
13

14 15 16 17 18
/*
 * Note, this is a prototype to get at the symbol for
 * the export, but dont use it from C code, it is used
 * by assembly code and is not using C calling convention!
 */
19
#ifndef CONFIG_X86_CMPXCHG64
20 21
extern void cmpxchg8b_emu(void);
EXPORT_SYMBOL(cmpxchg8b_emu);
22
#endif
23

L
Linus Torvalds 已提交
24 25 26 27 28 29
/* Networking helper routines. */
EXPORT_SYMBOL(csum_partial_copy_generic);

EXPORT_SYMBOL(__get_user_1);
EXPORT_SYMBOL(__get_user_2);
EXPORT_SYMBOL(__get_user_4);
30
EXPORT_SYMBOL(__get_user_8);
L
Linus Torvalds 已提交
31 32 33 34 35 36 37 38 39

EXPORT_SYMBOL(__put_user_1);
EXPORT_SYMBOL(__put_user_2);
EXPORT_SYMBOL(__put_user_4);
EXPORT_SYMBOL(__put_user_8);

EXPORT_SYMBOL(strstr);

EXPORT_SYMBOL(csum_partial);
40
EXPORT_SYMBOL(empty_zero_page);
41 42 43

#ifdef CONFIG_PREEMPT
EXPORT_SYMBOL(___preempt_schedule);
44
EXPORT_SYMBOL(___preempt_schedule_notrace);
45
#endif