1/* 2 * Architecture-specific kernel symbols 3 */ 4#include <linux/config.h> 5#include <linux/module.h> 6 7#include <linux/string.h> 8 9EXPORT_SYMBOL_NOVERS(memset); 10EXPORT_SYMBOL(memchr); 11EXPORT_SYMBOL(memcmp); 12EXPORT_SYMBOL_NOVERS(memcpy); 13EXPORT_SYMBOL(memmove); 14EXPORT_SYMBOL(memscan); 15EXPORT_SYMBOL(strcat); 16EXPORT_SYMBOL(strchr); 17EXPORT_SYMBOL(strcmp); 18EXPORT_SYMBOL(strcpy); 19EXPORT_SYMBOL(strlen); 20EXPORT_SYMBOL(strncat); 21EXPORT_SYMBOL(strncmp); 22EXPORT_SYMBOL(strncpy); 23EXPORT_SYMBOL(strnlen); 24EXPORT_SYMBOL(strrchr); 25EXPORT_SYMBOL(strstr); 26EXPORT_SYMBOL(strtok); 27EXPORT_SYMBOL(strpbrk); 28 29#include <linux/irq.h> 30EXPORT_SYMBOL(isa_irq_to_vector_map); 31EXPORT_SYMBOL(enable_irq); 32EXPORT_SYMBOL(disable_irq); 33EXPORT_SYMBOL(disable_irq_nosync); 34 35#include <linux/interrupt.h> 36EXPORT_SYMBOL(probe_irq_mask); 37 38#include <linux/in6.h> 39#include <asm/checksum.h> 40/* not coded yet?? EXPORT_SYMBOL(csum_ipv6_magic); */ 41EXPORT_SYMBOL(csum_partial_copy_nocheck); 42EXPORT_SYMBOL(csum_tcpudp_magic); 43EXPORT_SYMBOL(ip_compute_csum); 44EXPORT_SYMBOL(ip_fast_csum); 45 46#include <asm/io.h> 47EXPORT_SYMBOL(__ia64_memcpy_fromio); 48EXPORT_SYMBOL(__ia64_memcpy_toio); 49EXPORT_SYMBOL(__ia64_memset_c_io); 50 51#include <asm/semaphore.h> 52EXPORT_SYMBOL_NOVERS(__down); 53EXPORT_SYMBOL_NOVERS(__down_interruptible); 54EXPORT_SYMBOL_NOVERS(__down_trylock); 55EXPORT_SYMBOL_NOVERS(__up); 56 57#include <asm/page.h> 58EXPORT_SYMBOL(clear_page); 59 60#include <asm/processor.h> 61# ifndef CONFIG_NUMA 62EXPORT_SYMBOL(_cpu_data); 63# endif 64EXPORT_SYMBOL(kernel_thread); 65 66#include <asm/system.h> 67#ifdef CONFIG_IA64_DEBUG_IRQ 68EXPORT_SYMBOL(last_cli_ip); 69#endif 70 71#include <asm/pgalloc.h> 72 73EXPORT_SYMBOL(flush_tlb_range); 74 75#ifdef CONFIG_SMP 76 77EXPORT_SYMBOL(smp_flush_tlb_all); 78 79#include <asm/current.h> 80#include <asm/hardirq.h> 81EXPORT_SYMBOL(synchronize_irq); 82 83#include <asm/smp.h> 84EXPORT_SYMBOL(smp_call_function); 85EXPORT_SYMBOL(smp_call_function_single); 86EXPORT_SYMBOL(cpu_online_map); 87EXPORT_SYMBOL(ia64_cpu_to_sapicid); 88 89#include <linux/smp.h> 90EXPORT_SYMBOL(smp_num_cpus); 91 92#include <asm/smplock.h> 93EXPORT_SYMBOL(kernel_flag); 94 95/* #include <asm/system.h> */ 96EXPORT_SYMBOL(__global_sti); 97EXPORT_SYMBOL(__global_cli); 98EXPORT_SYMBOL(__global_save_flags); 99EXPORT_SYMBOL(__global_restore_flags); 100 101#else /* !CONFIG_SMP */ 102 103EXPORT_SYMBOL(__flush_tlb_all); 104 105#endif /* !CONFIG_SMP */ 106 107#include <asm/uaccess.h> 108EXPORT_SYMBOL(__copy_user); 109EXPORT_SYMBOL(__do_clear_user); 110EXPORT_SYMBOL(__strlen_user); 111EXPORT_SYMBOL(__strncpy_from_user); 112EXPORT_SYMBOL(__strnlen_user); 113 114#include <asm/unistd.h> 115EXPORT_SYMBOL(__ia64_syscall); 116 117/* from arch/ia64/lib */ 118extern void __divsi3(void); 119extern void __udivsi3(void); 120extern void __modsi3(void); 121extern void __umodsi3(void); 122extern void __divdi3(void); 123extern void __udivdi3(void); 124extern void __moddi3(void); 125extern void __umoddi3(void); 126 127EXPORT_SYMBOL_NOVERS(__divsi3); 128EXPORT_SYMBOL_NOVERS(__udivsi3); 129EXPORT_SYMBOL_NOVERS(__modsi3); 130EXPORT_SYMBOL_NOVERS(__umodsi3); 131EXPORT_SYMBOL_NOVERS(__divdi3); 132EXPORT_SYMBOL_NOVERS(__udivdi3); 133EXPORT_SYMBOL_NOVERS(__moddi3); 134EXPORT_SYMBOL_NOVERS(__umoddi3); 135 136extern unsigned long ia64_iobase; 137EXPORT_SYMBOL(ia64_iobase); 138 139#include <asm/pal.h> 140EXPORT_SYMBOL(ia64_pal_call_phys_stacked); 141EXPORT_SYMBOL(ia64_pal_call_phys_static); 142EXPORT_SYMBOL(ia64_pal_call_stacked); 143EXPORT_SYMBOL(ia64_pal_call_static); 144 145extern struct efi efi; 146EXPORT_SYMBOL(efi); 147 148#include <linux/proc_fs.h> 149extern struct proc_dir_entry *efi_dir; 150EXPORT_SYMBOL(efi_dir); 151 152#include <asm/machvec.h> 153#ifdef CONFIG_IA64_GENERIC 154EXPORT_SYMBOL(ia64_mv); 155#endif 156EXPORT_SYMBOL(machvec_noop); 157 158#if defined(CONFIG_MCOUNT) 159extern void _mcount(void); 160EXPORT_SYMBOL_NOVERS(_mcount); 161#endif 162