root/arch/parisc/kernel/parisc_ksyms.c

/* [<][>][^][v][top][bottom][index][help] */
   1 // SPDX-License-Identifier: GPL-2.0-or-later
   2 /*
   3  *    Architecture-specific kernel symbols
   4  *
   5  *    Copyright (C) 2000-2001 Richard Hirst <rhirst with parisc-linux.org>
   6  *    Copyright (C) 2001 Dave Kennedy
   7  *    Copyright (C) 2001 Paul Bame <bame at parisc-linux.org>
   8  *    Copyright (C) 2001-2003 Grant Grundler <grundler with parisc-linux.org>
   9  *    Copyright (C) 2002-2003 Matthew Wilcox <willy at parisc-linux.org>
  10  *    Copyright (C) 2002 Randolph Chung <tausq at parisc-linux.org>
  11  *    Copyright (C) 2002-2007 Helge Deller <deller with parisc-linux.org>
  12  */
  13 
  14 #include <linux/module.h>
  15 #include <linux/kernel.h>
  16 #include <linux/syscalls.h>
  17 
  18 #include <linux/string.h>
  19 EXPORT_SYMBOL(memset);
  20 EXPORT_SYMBOL(strlen);
  21 EXPORT_SYMBOL(strcpy);
  22 EXPORT_SYMBOL(strncpy);
  23 EXPORT_SYMBOL(strcat);
  24 
  25 #include <linux/atomic.h>
  26 EXPORT_SYMBOL(__xchg8);
  27 EXPORT_SYMBOL(__xchg32);
  28 EXPORT_SYMBOL(__cmpxchg_u32);
  29 EXPORT_SYMBOL(__cmpxchg_u64);
  30 #ifdef CONFIG_SMP
  31 EXPORT_SYMBOL(__atomic_hash);
  32 #endif
  33 #ifdef CONFIG_64BIT
  34 EXPORT_SYMBOL(__xchg64);
  35 #endif
  36 
  37 #include <linux/uaccess.h>
  38 EXPORT_SYMBOL(lclear_user);
  39 EXPORT_SYMBOL(lstrnlen_user);
  40 
  41 #ifndef CONFIG_64BIT
  42 /* Needed so insmod can set dp value */
  43 extern int $global$;
  44 EXPORT_SYMBOL($global$);
  45 #endif
  46 
  47 #include <asm/io.h>
  48 EXPORT_SYMBOL(memcpy_toio);
  49 EXPORT_SYMBOL(memcpy_fromio);
  50 EXPORT_SYMBOL(memset_io);
  51 
  52 extern void $$divI(void);
  53 extern void $$divU(void);
  54 extern void $$remI(void);
  55 extern void $$remU(void);
  56 extern void $$mulI(void);
  57 extern void $$divU_3(void);
  58 extern void $$divU_5(void);
  59 extern void $$divU_6(void);
  60 extern void $$divU_9(void);
  61 extern void $$divU_10(void);
  62 extern void $$divU_12(void);
  63 extern void $$divU_7(void);
  64 extern void $$divU_14(void);
  65 extern void $$divU_15(void);
  66 extern void $$divI_3(void);
  67 extern void $$divI_5(void);
  68 extern void $$divI_6(void);
  69 extern void $$divI_7(void);
  70 extern void $$divI_9(void);
  71 extern void $$divI_10(void);
  72 extern void $$divI_12(void);
  73 extern void $$divI_14(void);
  74 extern void $$divI_15(void);
  75 
  76 EXPORT_SYMBOL($$divI);
  77 EXPORT_SYMBOL($$divU);
  78 EXPORT_SYMBOL($$remI);
  79 EXPORT_SYMBOL($$remU);
  80 EXPORT_SYMBOL($$mulI);
  81 EXPORT_SYMBOL($$divU_3);
  82 EXPORT_SYMBOL($$divU_5);
  83 EXPORT_SYMBOL($$divU_6);
  84 EXPORT_SYMBOL($$divU_9);
  85 EXPORT_SYMBOL($$divU_10);
  86 EXPORT_SYMBOL($$divU_12);
  87 EXPORT_SYMBOL($$divU_7);
  88 EXPORT_SYMBOL($$divU_14);
  89 EXPORT_SYMBOL($$divU_15);
  90 EXPORT_SYMBOL($$divI_3);
  91 EXPORT_SYMBOL($$divI_5);
  92 EXPORT_SYMBOL($$divI_6);
  93 EXPORT_SYMBOL($$divI_7);
  94 EXPORT_SYMBOL($$divI_9);
  95 EXPORT_SYMBOL($$divI_10);
  96 EXPORT_SYMBOL($$divI_12);
  97 EXPORT_SYMBOL($$divI_14);
  98 EXPORT_SYMBOL($$divI_15);
  99 
 100 extern void __ashrdi3(void);
 101 extern void __ashldi3(void);
 102 extern void __lshrdi3(void);
 103 extern void __muldi3(void);
 104 extern void __ucmpdi2(void);
 105 
 106 EXPORT_SYMBOL(__ashrdi3);
 107 EXPORT_SYMBOL(__ashldi3);
 108 EXPORT_SYMBOL(__lshrdi3);
 109 EXPORT_SYMBOL(__muldi3);
 110 EXPORT_SYMBOL(__ucmpdi2);
 111 
 112 asmlinkage void * __canonicalize_funcptr_for_compare(void *);
 113 EXPORT_SYMBOL(__canonicalize_funcptr_for_compare);
 114 
 115 #ifdef CONFIG_64BIT
 116 extern void __divdi3(void);
 117 extern void __udivdi3(void);
 118 extern void __umoddi3(void);
 119 extern void __moddi3(void);
 120 
 121 EXPORT_SYMBOL(__divdi3);
 122 EXPORT_SYMBOL(__udivdi3);
 123 EXPORT_SYMBOL(__umoddi3);
 124 EXPORT_SYMBOL(__moddi3);
 125 #endif
 126 
 127 #ifndef CONFIG_64BIT
 128 extern void $$dyncall(void);
 129 EXPORT_SYMBOL($$dyncall);
 130 #endif
 131 
 132 #ifdef CONFIG_FUNCTION_TRACER
 133 extern void _mcount(void);
 134 EXPORT_SYMBOL(_mcount);
 135 #endif
 136 
 137 /* from pacache.S -- needed for clear/copy_page */
 138 EXPORT_SYMBOL(clear_page_asm);
 139 EXPORT_SYMBOL(copy_page_asm);

/* [<][>][^][v][top][bottom][index][help] */