Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use generic LIST_HEAD macros instead of linux specific.
[fs/lustre-release.git]
/
lustre
/
include
/
liblustre.h
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
67f0066
..
c562e75
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-609,9
+609,9
@@
static inline int capable(int cap)
#define DECLARE_WAIT_QUEUE_HEAD(HEAD) \
wait_queue_head_t HEAD = { \
#define DECLARE_WAIT_QUEUE_HEAD(HEAD) \
wait_queue_head_t HEAD = { \
- .sleepers =
LIST_HEAD_INIT(HEAD.sleepers)
\
+ .sleepers =
CFS_LIST_HEAD_INIT(HEAD.sleepers)
\
}
}
-#define init_waitqueue_head(l) INIT_LIST_HEAD(&(l)->sleepers)
+#define init_waitqueue_head(l)
CFS_
INIT_LIST_HEAD(&(l)->sleepers)
#define wake_up(l) do { int a; a++; } while (0)
#define TASK_INTERRUPTIBLE 0
#define TASK_UNINTERRUPTIBLE 1
#define wake_up(l) do { int a; a++; } while (0)
#define TASK_INTERRUPTIBLE 0
#define TASK_UNINTERRUPTIBLE 1
@@
-682,7
+682,7
@@
static inline int timer_pending(struct timer_list *l)
static inline int init_timer(struct timer_list *l)
{
static inline int init_timer(struct timer_list *l)
{
- INIT_LIST_HEAD(&l->tl_list);
+
CFS_
INIT_LIST_HEAD(&l->tl_list);
return 0;
}
return 0;
}