diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-10-07 18:34:08 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-10-07 18:34:08 -0400 |
| commit | 3a591b6003054e1d4e15c8dd7deefe3c8090192e (patch) | |
| tree | 50bacb6e64c63514250a80b21d024c41cd5e8bfe /include/linux | |
| parent | 13977c0c24b29cef8516683f028dd5eea399fc56 (diff) | |
litmus: add qsort list manipulation function
The adaptive optimizer needs to sort lists.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/litmus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/litmus.h b/include/linux/litmus.h index 4753c83083..30d0800249 100644 --- a/include/linux/litmus.h +++ b/include/linux/litmus.h | |||
| @@ -116,6 +116,8 @@ static inline int in_list(struct list_head* list) | |||
| 116 | ); | 116 | ); |
| 117 | } | 117 | } |
| 118 | 118 | ||
| 119 | void list_qsort(struct list_head* list, list_cmp_t less_than); | ||
| 120 | |||
| 119 | 121 | ||
| 120 | #define RT_PREEMPTIVE 0x2050 /* = NP */ | 122 | #define RT_PREEMPTIVE 0x2050 /* = NP */ |
| 121 | #define RT_NON_PREEMPTIVE 0x4e50 /* = P */ | 123 | #define RT_NON_PREEMPTIVE 0x4e50 /* = P */ |
