summaryrefslogtreecommitdiff
path: root/include/linux/auto_fs.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-05-07 12:42:28 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-06-30 10:09:55 -0400
commitcf2cb0b27116883c23761e974acba5f3bd719d21 (patch)
treeafeb0f40810d1f11bb41f631711321461002f327 /include/linux/auto_fs.h
parent4fbb48cb110be653adcd97a87506e0ba8c16d585 (diff)
ftrace: Use macros for numbers in ftrace rec shift bits
As new flags will be added to the ftrace dynamic record, and since the flags field is also a counter, converting the numbers used to do the shifting and masking into a set of macros where we only need to deal with the max bit count of the counter and the number of bits for the flags will prevent mistakes in the future. Dealing with only two numbers is much easier than updating all the macros that deal with shifting and masking. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/auto_fs.h')
0 files changed, 0 insertions, 0 deletions