提交 2aef999b 编写于 作者: B Benjamin Romer 提交者: Greg Kroah-Hartman

staging: unisys: fix macro spacing in uisutils.h

Add some space between the macros in uisutils.h for readability.
Signed-off-by: NBenjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 61b27ac8
...@@ -179,11 +179,14 @@ struct chaninfo { ...@@ -179,11 +179,14 @@ struct chaninfo {
set_current_state(TASK_INTERRUPTIBLE); \ set_current_state(TASK_INTERRUPTIBLE); \
schedule_timeout(msecs_to_jiffies(x)); \ schedule_timeout(msecs_to_jiffies(x)); \
} }
#define UIS_THREAD_WAIT_USEC(x) { \ #define UIS_THREAD_WAIT_USEC(x) { \
set_current_state(TASK_INTERRUPTIBLE); \ set_current_state(TASK_INTERRUPTIBLE); \
schedule_timeout(usecs_to_jiffies(x)); \ schedule_timeout(usecs_to_jiffies(x)); \
} }
#define UIS_THREAD_WAIT UIS_THREAD_WAIT_MSEC(5) #define UIS_THREAD_WAIT UIS_THREAD_WAIT_MSEC(5)
#define UIS_THREAD_WAIT_SEC(x) { \ #define UIS_THREAD_WAIT_SEC(x) { \
set_current_state(TASK_INTERRUPTIBLE); \ set_current_state(TASK_INTERRUPTIBLE); \
schedule_timeout((x)*HZ); \ schedule_timeout((x)*HZ); \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册