diff options
Diffstat (limited to 'arch/ia64/kernel/sal.c')
| -rw-r--r-- | arch/ia64/kernel/sal.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/ia64/kernel/sal.c b/arch/ia64/kernel/sal.c index 27c2ef445a56..f44fe8412162 100644 --- a/arch/ia64/kernel/sal.c +++ b/arch/ia64/kernel/sal.c | |||
| @@ -284,6 +284,7 @@ ia64_sal_cache_flush (u64 cache_type) | |||
| 284 | SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); | 284 | SAL_CALL(isrv, SAL_CACHE_FLUSH, cache_type, 0, 0, 0, 0, 0, 0); |
| 285 | return isrv.status; | 285 | return isrv.status; |
| 286 | } | 286 | } |
| 287 | EXPORT_SYMBOL_GPL(ia64_sal_cache_flush); | ||
| 287 | 288 | ||
| 288 | void __init | 289 | void __init |
| 289 | ia64_sal_init (struct ia64_sal_systab *systab) | 290 | ia64_sal_init (struct ia64_sal_systab *systab) |
| @@ -372,3 +373,16 @@ ia64_sal_oemcall_reentrant(struct ia64_sal_retval *isrvp, u64 oemfunc, | |||
| 372 | return 0; | 373 | return 0; |
| 373 | } | 374 | } |
| 374 | EXPORT_SYMBOL(ia64_sal_oemcall_reentrant); | 375 | EXPORT_SYMBOL(ia64_sal_oemcall_reentrant); |
| 376 | |||
| 377 | long | ||
| 378 | ia64_sal_freq_base (unsigned long which, unsigned long *ticks_per_second, | ||
| 379 | unsigned long *drift_info) | ||
| 380 | { | ||
| 381 | struct ia64_sal_retval isrv; | ||
| 382 | |||
| 383 | SAL_CALL(isrv, SAL_FREQ_BASE, which, 0, 0, 0, 0, 0, 0); | ||
| 384 | *ticks_per_second = isrv.v0; | ||
| 385 | *drift_info = isrv.v1; | ||
| 386 | return isrv.status; | ||
| 387 | } | ||
| 388 | EXPORT_SYMBOL_GPL(ia64_sal_freq_base); | ||
