diff options
author | Jiri Slaby <[email protected]> | 2020-10-29 12:32:11 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-04 16:43:38 +0100 |
commit | fe6416e126cc17c0454c9c32d06b81a4e58ed8b7 (patch) | |
tree | 0ee04a96a3859ce1cd261264f0922087e9f7c96e /tools/perf/scripts/python/flamegraph.py | |
parent | e27979dace0438fabc0a8e882356d20f532eb1e3 (diff) |
vt: keyboard, extract vt_kdgkbent and vt_kdskbent
Split vt_do_kdsk_ioctl into three functions:
* getter (KDGKBENT/vt_kdgkbent)
* setter (KDSKBENT/vt_kdskbent)
* switch-case helper (vt_do_kdsk_ioctl)
This eliminates the need of ugly one-letter macros as we use parameters
now:
* i aka tmp.kb_index -> idx
* s aka tmp.kb_table -> map
* v aka tmp.kb_value -> val
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions