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