diff options
| author | Steven Rostedt (Red Hat) <[email protected]> | 2014-07-23 19:45:12 -0400 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2014-07-23 19:45:12 -0400 |
| commit | 10e83fd01ccbb7122ad2c9dce68fb01bebb3fc46 (patch) | |
| tree | 0643420cd3f825c33a3802113a6fe635e4b090b2 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | 0162d621ddf3bd02bf7de324dcf002d9c84c5059 (diff) | |
ring-buffer: Use rb_page_size() instead of open coded head_page size
There's a helper function to get a ring buffer page size (the number
of bytes of data recorded on the page), called rb_page_size().
Use that instead of open coding it.
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions