diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-10 19:05:19 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-10 19:05:19 -0400 |
| commit | a866494041074a7f53b425f7221a76778e277858 (patch) | |
| tree | aad45f3396395b3e72c021a58e8ed0b82b4c9531 /include/linux | |
| parent | 47f0c01efae04bdcc370ec2ba6f3d7607c8cbcaa (diff) | |
Break out __release_pending() from try_release_pending()
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/edf_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/edf_common.h b/include/linux/edf_common.h index 252efce97a..7b8a47eb75 100644 --- a/include/linux/edf_common.h +++ b/include/linux/edf_common.h | |||
| @@ -2,6 +2,10 @@ | |||
| 2 | * based scheduler plugins | 2 | * based scheduler plugins |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | /* CLEANUP: Add comments and make it less messy. | ||
| 6 | * | ||
| 7 | */ | ||
| 8 | |||
| 5 | #ifndef __UNC_EDF_COMMON_H__ | 9 | #ifndef __UNC_EDF_COMMON_H__ |
| 6 | #define __UNC_EDF_COMMON_H__ | 10 | #define __UNC_EDF_COMMON_H__ |
| 7 | 11 | ||
| @@ -37,6 +41,7 @@ struct task_struct* __peek_ready(edf_domain_t* edf); | |||
| 37 | 41 | ||
| 38 | 42 | ||
| 39 | void try_release_pending(edf_domain_t* edf); | 43 | void try_release_pending(edf_domain_t* edf); |
| 44 | void __release_pending(edf_domain_t* edf); | ||
| 40 | void __prepare_new_release(struct task_struct *t, jiffie_t start); | 45 | void __prepare_new_release(struct task_struct *t, jiffie_t start); |
| 41 | #define prepare_new_release(t) __prepare_new_release(t, jiffies) | 46 | #define prepare_new_release(t) __prepare_new_release(t, jiffies) |
| 42 | void prepare_for_next_period(struct task_struct *t); | 47 | void prepare_for_next_period(struct task_struct *t); |
