summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorZhang, Xiantao <xiantao.zhang@intel.com>2008-02-04 15:46:23 -0800
committerTony Luck <tony.luck@intel.com>2008-02-04 15:46:23 -0800
commita7d57ecf4216ed29328f8e701bd65ebb66a0284c (patch)
treecbd00eb6dbb9b162b671d0365a8e4b6f7f011867 /include/asm-ia64
parentfe77efb8b7e80128b914044c175d5dcd75e9fff7 (diff)
downloadlinux-a7d57ecf4216ed29328f8e701bd65ebb66a0284c.tar.gz
linux-a7d57ecf4216ed29328f8e701bd65ebb66a0284c.tar.bz2
linux-a7d57ecf4216ed29328f8e701bd65ebb66a0284c.zip
[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>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/sal.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/asm-ia64/sal.h b/include/asm-ia64/sal.h
index 1f5412d6f9bb..2251118894ae 100644
--- a/include/asm-ia64/sal.h
+++ b/include/asm-ia64/sal.h
@@ -649,17 +649,6 @@ typedef struct err_rec {
* Now define a couple of inline functions for improved type checking
* and convenience.
*/
-static inline long
-ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second,
- unsigned long *drift_info)
-{
- struct ia64_sal_retval isrv;
-
- SAL_CALL(isrv, SAL_FREQ_BASE, which, 0, 0, 0, 0, 0, 0);
- *ticks_per_second = isrv.v0;
- *drift_info = isrv.v1;
- return isrv.status;
-}
extern s64 ia64_sal_cache_flush (u64 cache_type);
extern void __init check_sal_cache_flush (void);
@@ -841,6 +830,9 @@ extern int ia64_sal_oemcall_nolock(struct ia64_sal_retval *, u64, u64, u64,
u64, u64, u64, u64, u64);
extern int ia64_sal_oemcall_reentrant(struct ia64_sal_retval *, u64, u64, u64,
u64, u64, u64, u64, u64);
+extern long
+ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second,
+ unsigned long *drift_info);
#ifdef CONFIG_HOTPLUG_CPU
/*
* System Abstraction Layer Specification