Commit ee64e7f6 authored by Tejun Heo's avatar Tejun Heo

workqueue: cosmetic whitespace updates for macro definitions

Consistently use the last tab position for '\' line continuation in
complex macro definitions.  This is to help the following patches.

This patch is cosmetic.
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 56e6a081
...@@ -192,7 +192,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } ...@@ -192,7 +192,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
\ \
__init_work((_work), _onstack); \ __init_work((_work), _onstack); \
(_work)->data = (atomic_long_t) WORK_DATA_INIT(); \ (_work)->data = (atomic_long_t) WORK_DATA_INIT(); \
lockdep_init_map(&(_work)->lockdep_map, #_work, &__key, 0);\ lockdep_init_map(&(_work)->lockdep_map, #_work, &__key, 0); \
INIT_LIST_HEAD(&(_work)->entry); \ INIT_LIST_HEAD(&(_work)->entry); \
PREPARE_WORK((_work), (_func)); \ PREPARE_WORK((_work), (_func)); \
} while (0) } while (0)
...@@ -220,7 +220,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } ...@@ -220,7 +220,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
do { \ do { \
INIT_WORK(&(_work)->work, (_func)); \ INIT_WORK(&(_work)->work, (_func)); \
init_timer(&(_work)->timer); \ init_timer(&(_work)->timer); \
(_work)->timer.function = delayed_work_timer_fn;\ (_work)->timer.function = delayed_work_timer_fn; \
(_work)->timer.data = (unsigned long)(_work); \ (_work)->timer.data = (unsigned long)(_work); \
} while (0) } while (0)
...@@ -228,7 +228,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } ...@@ -228,7 +228,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
do { \ do { \
INIT_WORK_ONSTACK(&(_work)->work, (_func)); \ INIT_WORK_ONSTACK(&(_work)->work, (_func)); \
init_timer_on_stack(&(_work)->timer); \ init_timer_on_stack(&(_work)->timer); \
(_work)->timer.function = delayed_work_timer_fn;\ (_work)->timer.function = delayed_work_timer_fn; \
(_work)->timer.data = (unsigned long)(_work); \ (_work)->timer.data = (unsigned long)(_work); \
} while (0) } while (0)
...@@ -236,7 +236,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; } ...@@ -236,7 +236,7 @@ static inline unsigned int work_static(struct work_struct *work) { return 0; }
do { \ do { \
INIT_WORK(&(_work)->work, (_func)); \ INIT_WORK(&(_work)->work, (_func)); \
init_timer_deferrable(&(_work)->timer); \ init_timer_deferrable(&(_work)->timer); \
(_work)->timer.function = delayed_work_timer_fn;\ (_work)->timer.function = delayed_work_timer_fn; \
(_work)->timer.data = (unsigned long)(_work); \ (_work)->timer.data = (unsigned long)(_work); \
} while (0) } while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment