diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-06-06 22:40:03 -0400 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-06-06 22:40:03 -0400 |
| commit | f3ffb6814408f29817fc84d40ecc9c796acaa3ab (patch) | |
| tree | b4702cbdbf2c4517a5986bbaa971495b0f92a877 /kernel/hrtimer.c | |
| parent | 5bafd76593f060540acbea3b61e3087e009aa269 (diff) | |
| parent | 1def630a6a49dda5bc89dfbd86656293640456f0 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'kernel/hrtimer.c')
| -rw-r--r-- | kernel/hrtimer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index b7f0388bd71c..01fa2ae98a85 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c | |||
| @@ -456,6 +456,7 @@ hrtimer_start(struct hrtimer *timer, ktime_t tim, const enum hrtimer_mode mode) | |||
| 456 | 456 | ||
| 457 | return ret; | 457 | return ret; |
| 458 | } | 458 | } |
| 459 | EXPORT_SYMBOL_GPL(hrtimer_start); | ||
| 459 | 460 | ||
| 460 | /** | 461 | /** |
| 461 | * hrtimer_try_to_cancel - try to deactivate a timer | 462 | * hrtimer_try_to_cancel - try to deactivate a timer |
| @@ -484,6 +485,7 @@ int hrtimer_try_to_cancel(struct hrtimer *timer) | |||
| 484 | return ret; | 485 | return ret; |
| 485 | 486 | ||
| 486 | } | 487 | } |
| 488 | EXPORT_SYMBOL_GPL(hrtimer_try_to_cancel); | ||
| 487 | 489 | ||
| 488 | /** | 490 | /** |
| 489 | * hrtimer_cancel - cancel a timer and wait for the handler to finish. | 491 | * hrtimer_cancel - cancel a timer and wait for the handler to finish. |
| @@ -504,6 +506,7 @@ int hrtimer_cancel(struct hrtimer *timer) | |||
| 504 | cpu_relax(); | 506 | cpu_relax(); |
| 505 | } | 507 | } |
| 506 | } | 508 | } |
| 509 | EXPORT_SYMBOL_GPL(hrtimer_cancel); | ||
| 507 | 510 | ||
| 508 | /** | 511 | /** |
| 509 | * hrtimer_get_remaining - get remaining time for the timer | 512 | * hrtimer_get_remaining - get remaining time for the timer |
| @@ -522,6 +525,7 @@ ktime_t hrtimer_get_remaining(const struct hrtimer *timer) | |||
| 522 | 525 | ||
| 523 | return rem; | 526 | return rem; |
| 524 | } | 527 | } |
| 528 | EXPORT_SYMBOL_GPL(hrtimer_get_remaining); | ||
| 525 | 529 | ||
| 526 | #ifdef CONFIG_NO_IDLE_HZ | 530 | #ifdef CONFIG_NO_IDLE_HZ |
| 527 | /** | 531 | /** |
| @@ -580,6 +584,7 @@ void hrtimer_init(struct hrtimer *timer, clockid_t clock_id, | |||
| 580 | timer->base = &bases[clock_id]; | 584 | timer->base = &bases[clock_id]; |
| 581 | timer->node.rb_parent = HRTIMER_INACTIVE; | 585 | timer->node.rb_parent = HRTIMER_INACTIVE; |
| 582 | } | 586 | } |
| 587 | EXPORT_SYMBOL_GPL(hrtimer_init); | ||
| 583 | 588 | ||
| 584 | /** | 589 | /** |
| 585 | * hrtimer_get_res - get the timer resolution for a clock | 590 | * hrtimer_get_res - get the timer resolution for a clock |
| @@ -599,6 +604,7 @@ int hrtimer_get_res(const clockid_t which_clock, struct timespec *tp) | |||
| 599 | 604 | ||
| 600 | return 0; | 605 | return 0; |
| 601 | } | 606 | } |
| 607 | EXPORT_SYMBOL_GPL(hrtimer_get_res); | ||
| 602 | 608 | ||
| 603 | /* | 609 | /* |
| 604 | * Expire the per base hrtimer-queue: | 610 | * Expire the per base hrtimer-queue: |
