linux/arch/x86/kernel/x8664_ksyms_64.c
<<
>>
Prefs
   1/* Exports for assembly files.
   2   All C exports should go in the respective C files. */
   3
   4#include <linux/module.h>
   5#include <linux/smp.h>
   6
   7#include <net/checksum.h>
   8
   9#include <asm/processor.h>
  10#include <asm/pgtable.h>
  11#include <asm/uaccess.h>
  12#include <asm/desc.h>
  13#include <asm/ftrace.h>
  14
  15#ifdef CONFIG_FUNCTION_TRACER
  16/* mcount is defined in assembly */
  17EXPORT_SYMBOL(mcount);
  18#endif
  19
  20EXPORT_SYMBOL(__get_user_1);
  21EXPORT_SYMBOL(__get_user_2);
  22EXPORT_SYMBOL(__get_user_4);
  23EXPORT_SYMBOL(__get_user_8);
  24EXPORT_SYMBOL(__put_user_1);
  25EXPORT_SYMBOL(__put_user_2);
  26EXPORT_SYMBOL(__put_user_4);
  27EXPORT_SYMBOL(__put_user_8);
  28
  29EXPORT_SYMBOL(copy_user_generic_string);
  30EXPORT_SYMBOL(copy_user_generic_unrolled);
  31EXPORT_SYMBOL(__copy_user_nocache);
  32EXPORT_SYMBOL(_copy_from_user);
  33EXPORT_SYMBOL(_copy_to_user);
  34
  35EXPORT_SYMBOL(copy_page);
  36EXPORT_SYMBOL(clear_page);
  37
  38EXPORT_SYMBOL(csum_partial);
  39
  40/*
  41 * Export string functions. We normally rely on gcc builtin for most of these,
  42 * but gcc sometimes decides not to inline them.
  43 */
  44#undef memcpy
  45#undef memset
  46#undef memmove
  47
  48extern void *memset(void *, int, __kernel_size_t);
  49extern void *memcpy(void *, const void *, __kernel_size_t);
  50extern void *__memcpy(void *, const void *, __kernel_size_t);
  51
  52EXPORT_SYMBOL(memset);
  53EXPORT_SYMBOL(memcpy);
  54EXPORT_SYMBOL(__memcpy);
  55
  56EXPORT_SYMBOL(empty_zero_page);
  57#ifndef CONFIG_PARAVIRT
  58EXPORT_SYMBOL(native_load_gs_index);
  59#endif
  60