diff options
author | Borislav Petkov <[email protected]> | 2017-06-06 19:31:16 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-08 09:28:21 +0200 |
commit | bbf79d21bd4627a01ca8721c9373752819f8e4cc (patch) | |
tree | d7f3bda1eb4d68c9b458452b072a493a8fd62767 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5dd0b16cdaff9b94da06074d5888b03235c0bf17 (diff) |
x86/ldt: Rename ldt_struct::size to ::nr_entries
... because this is exactly what it is: the number of entries in the
LDT. Calling it "size" is simply confusing and it is actually begging
to be called "nr_entries" or somesuch, especially if you see constructs
like:
alloc_size = size * LDT_ENTRY_SIZE;
since LDT_ENTRY_SIZE is the size of a single entry.
There should be no functionality change resulting from this patch, as
the before/after output from tools/testing/selftests/x86/ldt_gdt.c
shows.
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Renamed 'n_entries' to 'nr_entries' ]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions