linux/arch/sh/kernel/sh_ksyms_32.c
<<
>>
Prefs
   1#include <linux/module.h>
   2#include <linux/smp.h>
   3#include <linux/user.h>
   4#include <linux/elfcore.h>
   5#include <linux/sched.h>
   6#include <linux/in6.h>
   7#include <linux/interrupt.h>
   8#include <linux/vmalloc.h>
   9#include <linux/pci.h>
  10#include <linux/irq.h>
  11#include <asm/sections.h>
  12#include <asm/processor.h>
  13#include <asm/uaccess.h>
  14#include <asm/checksum.h>
  15#include <asm/io.h>
  16#include <asm/delay.h>
  17#include <asm/tlbflush.h>
  18#include <asm/cacheflush.h>
  19#include <asm/ftrace.h>
  20
  21extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
  22
  23/* platform dependent support */
  24EXPORT_SYMBOL(dump_fpu);
  25EXPORT_SYMBOL(kernel_thread);
  26EXPORT_SYMBOL(strlen);
  27
  28/* PCI exports */
  29#ifdef CONFIG_PCI
  30EXPORT_SYMBOL(pci_alloc_consistent);
  31EXPORT_SYMBOL(pci_free_consistent);
  32#endif
  33
  34/* mem exports */
  35EXPORT_SYMBOL(memchr);
  36EXPORT_SYMBOL(memcpy);
  37EXPORT_SYMBOL(memset);
  38EXPORT_SYMBOL(memmove);
  39EXPORT_SYMBOL(__copy_user);
  40EXPORT_SYMBOL(__udelay);
  41EXPORT_SYMBOL(__ndelay);
  42EXPORT_SYMBOL(__const_udelay);
  43
  44#define DECLARE_EXPORT(name)            \
  45        extern void name(void);EXPORT_SYMBOL(name)
  46
  47DECLARE_EXPORT(__udivsi3);
  48DECLARE_EXPORT(__sdivsi3);
  49DECLARE_EXPORT(__lshrsi3);
  50DECLARE_EXPORT(__ashrsi3);
  51DECLARE_EXPORT(__ashlsi3);
  52DECLARE_EXPORT(__ashiftrt_r4_6);
  53DECLARE_EXPORT(__ashiftrt_r4_7);
  54DECLARE_EXPORT(__ashiftrt_r4_8);
  55DECLARE_EXPORT(__ashiftrt_r4_9);
  56DECLARE_EXPORT(__ashiftrt_r4_10);
  57DECLARE_EXPORT(__ashiftrt_r4_11);
  58DECLARE_EXPORT(__ashiftrt_r4_12);
  59DECLARE_EXPORT(__ashiftrt_r4_13);
  60DECLARE_EXPORT(__ashiftrt_r4_14);
  61DECLARE_EXPORT(__ashiftrt_r4_15);
  62DECLARE_EXPORT(__ashiftrt_r4_20);
  63DECLARE_EXPORT(__ashiftrt_r4_21);
  64DECLARE_EXPORT(__ashiftrt_r4_22);
  65DECLARE_EXPORT(__ashiftrt_r4_23);
  66DECLARE_EXPORT(__ashiftrt_r4_24);
  67DECLARE_EXPORT(__ashiftrt_r4_27);
  68DECLARE_EXPORT(__ashiftrt_r4_30);
  69DECLARE_EXPORT(__movstr);
  70DECLARE_EXPORT(__movstrSI8);
  71DECLARE_EXPORT(__movstrSI12);
  72DECLARE_EXPORT(__movstrSI16);
  73DECLARE_EXPORT(__movstrSI20);
  74DECLARE_EXPORT(__movstrSI24);
  75DECLARE_EXPORT(__movstrSI28);
  76DECLARE_EXPORT(__movstrSI32);
  77DECLARE_EXPORT(__movstrSI36);
  78DECLARE_EXPORT(__movstrSI40);
  79DECLARE_EXPORT(__movstrSI44);
  80DECLARE_EXPORT(__movstrSI48);
  81DECLARE_EXPORT(__movstrSI52);
  82DECLARE_EXPORT(__movstrSI56);
  83DECLARE_EXPORT(__movstrSI60);
  84DECLARE_EXPORT(__movstr_i4_even);
  85DECLARE_EXPORT(__movstr_i4_odd);
  86DECLARE_EXPORT(__movstrSI12_i4);
  87DECLARE_EXPORT(__movmem);
  88DECLARE_EXPORT(__movmemSI8);
  89DECLARE_EXPORT(__movmemSI12);
  90DECLARE_EXPORT(__movmemSI16);
  91DECLARE_EXPORT(__movmemSI20);
  92DECLARE_EXPORT(__movmemSI24);
  93DECLARE_EXPORT(__movmemSI28);
  94DECLARE_EXPORT(__movmemSI32);
  95DECLARE_EXPORT(__movmemSI36);
  96DECLARE_EXPORT(__movmemSI40);
  97DECLARE_EXPORT(__movmemSI44);
  98DECLARE_EXPORT(__movmemSI48);
  99DECLARE_EXPORT(__movmemSI52);
 100DECLARE_EXPORT(__movmemSI56);
 101DECLARE_EXPORT(__movmemSI60);
 102DECLARE_EXPORT(__movmem_i4_even);
 103DECLARE_EXPORT(__movmem_i4_odd);
 104DECLARE_EXPORT(__movmemSI12_i4);
 105DECLARE_EXPORT(__udiv_qrnnd_16);
 106DECLARE_EXPORT(__sdivsi3_i4);
 107DECLARE_EXPORT(__udivsi3_i4);
 108DECLARE_EXPORT(__sdivsi3_i4i);
 109DECLARE_EXPORT(__udivsi3_i4i);
 110
 111#if !defined(CONFIG_CACHE_OFF) && (defined(CONFIG_CPU_SH4) || \
 112        defined(CONFIG_SH7705_CACHE_32KB))
 113/* needed by some modules */
 114EXPORT_SYMBOL(flush_cache_all);
 115EXPORT_SYMBOL(flush_cache_range);
 116EXPORT_SYMBOL(flush_dcache_page);
 117#endif
 118
 119#ifdef CONFIG_MCOUNT
 120DECLARE_EXPORT(mcount);
 121#endif
 122EXPORT_SYMBOL(csum_partial);
 123EXPORT_SYMBOL(csum_partial_copy_generic);
 124#ifdef CONFIG_IPV6
 125EXPORT_SYMBOL(csum_ipv6_magic);
 126#endif
 127EXPORT_SYMBOL(copy_page);
 128EXPORT_SYMBOL(__clear_user);
 129EXPORT_SYMBOL(_ebss);
 130EXPORT_SYMBOL(empty_zero_page);
 131
 132#ifndef CONFIG_CACHE_OFF
 133EXPORT_SYMBOL(__flush_purge_region);
 134EXPORT_SYMBOL(__flush_wback_region);
 135EXPORT_SYMBOL(__flush_invalidate_region);
 136#endif
 137