[IA64] Export three symbols for module use

Since kvm/module needs to use some unexported functions in kernel,
so export them with this patch.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by Zhang, Xiantao and committed by Tony Luck a7d57ecf fe77efb8

+20 -11
+3
arch/ia64/kernel/ia64_ksyms.c
··· 12 EXPORT_SYMBOL(memcpy); 13 EXPORT_SYMBOL(strlen); 14 15 #include <asm/checksum.h> 16 EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */ 17 EXPORT_SYMBOL(csum_ipv6_magic);
··· 12 EXPORT_SYMBOL(memcpy); 13 EXPORT_SYMBOL(strlen); 14 15 + #include<asm/pgtable.h> 16 + EXPORT_SYMBOL_GPL(empty_zero_page); 17 + 18 #include <asm/checksum.h> 19 EXPORT_SYMBOL(ip_fast_csum); /* hand-coded assembly */ 20 EXPORT_SYMBOL(csum_ipv6_magic);
+14
arch/ia64/kernel/sal.c
··· 284 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); 285 return isrv.status; 286 } 287 288 void __init 289 ia64_sal_init (struct ia64_sal_systab *systab) ··· 373 return 0; 374 } 375 EXPORT_SYMBOL(ia64_sal_oemcall_reentrant);
··· 284 SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); 285 return isrv.status; 286 } 287 + EXPORT_SYMBOL_GPL(ia64_sal_cache_flush); 288 289 void __init 290 ia64_sal_init (struct ia64_sal_systab *systab) ··· 372 return 0; 373 } 374 EXPORT_SYMBOL(ia64_sal_oemcall_reentrant); 375 + 376 + long 377 + ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second, 378 + unsigned long *drift_info) 379 + { 380 + struct ia64_sal_retval isrv; 381 + 382 + SAL_CALL(isrv, SAL_FREQ_BASE, which, 0, 0, 0, 0, 0, 0); 383 + *ticks_per_second = isrv.v0; 384 + *drift_info = isrv.v1; 385 + return isrv.status; 386 + } 387 + EXPORT_SYMBOL_GPL(ia64_sal_freq_base);
+3 -11
include/asm-ia64/sal.h
··· 649 * Now define a couple of inline functions for improved type checking 650 * and convenience. 651 */ 652 - static inline long 653 - ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second, 654 - unsigned long *drift_info) 655 - { 656 - struct ia64_sal_retval isrv; 657 - 658 - SAL_CALL(isrv, SAL_FREQ_BASE, which, 0, 0, 0, 0, 0, 0); 659 - *ticks_per_second = isrv.v0; 660 - *drift_info = isrv.v1; 661 - return isrv.status; 662 - } 663 664 extern s64 ia64_sal_cache_flush (u64 cache_type); 665 extern void __init check_sal_cache_flush (void); ··· 830 u64, u64, u64, u64, u64); 831 extern int ia64_sal_oemcall_reentrant(struct ia64_sal_retval *, u64, u64, u64, 832 u64, u64, u64, u64, u64); 833 #ifdef CONFIG_HOTPLUG_CPU 834 /* 835 * System Abstraction Layer Specification
··· 649 * Now define a couple of inline functions for improved type checking 650 * and convenience. 651 */ 652 653 extern s64 ia64_sal_cache_flush (u64 cache_type); 654 extern void __init check_sal_cache_flush (void); ··· 841 u64, u64, u64, u64, u64); 842 extern int ia64_sal_oemcall_reentrant(struct ia64_sal_retval *, u64, u64, u64, 843 u64, u64, u64, u64, u64); 844 + extern long 845 + ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second, 846 + unsigned long *drift_info); 847 #ifdef CONFIG_HOTPLUG_CPU 848 /* 849 * System Abstraction Layer Specification