diff options
| author | Robert Richter <robert.richter@amd.com> | 2009-04-29 16:55:56 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 22:19:36 +0200 |
| commit | 43f6201a22dbf1c5abe1cab96b49bd56fa9df8f4 (patch) | |
| tree | 5e481766115902221ca1c3fbf8c547831c5fa794 /include/linux/workqueue.h | |
| parent | ab7ef2e50a557af92f4f90689f51fadadafc16b2 (diff) | |
perf_counter, x86: rename bitmasks to ->used_mask and ->active_mask
Standardize on explicitly mentioning '_mask' in fields that
are not plain flags but masks. This avoids typos like:
if (cpuc->used)
(which could easily slip through review unnoticed), while if a
typo looks like this:
if (cpuc->used_mask)
it might get noticed during review.
[ Impact: cleanup ]
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1241016956-24648-1-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
