diff options
author | Ingo Molnar <[email protected]> | 2017-03-05 11:54:46 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-20 12:18:29 +0200 |
commit | 939798a072300698870b96756c38bb34c20f6c71 (patch) | |
tree | 31d24914d7d72779ff401a5f4b401a90863864fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 76c85ddc4695bb7b8209bfeff11f5156088f9197 (diff) |
sched/wait: Improve the bit-wait API parameter names in the API function prototypes
Contrary to kernel tradition, most of the bit-wait function prototypes
in <linux/wait.h> don't fully define the parameter names, they only
list the types:
int out_of_line_wait_on_bit_timeout(void *, int, wait_bit_action_f *, unsigned, unsigned long);
... which is pretty passive-aggressive in terms of informing the reader
about what these functions are doing.
Fill in the parameter names, such as:
int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, unsigned long timeout);
Also turn spurious (and inconsistently utilized) cases of 'unsigned' into 'unsigned int'.
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions