Files
linux/include/linux
Jiri Slaby 28bc24fc46 vc: separate state
There are two copies of some members of struct vc_data. This is because
we need to save them and restore later. Move these memebers to a
separate structure called vc_state. So now instead of members like:
  vc_x, vc_y and vc_saved_x, vc_saved_y
we have
  state and saved_state (of type: struct vc_state)
containing
  state.x, state.y and saved_state.x, saved_state.y

This change:
* makes clear what is saved & restored
* eases save & restore by using memcpy (see save_cur and restore_cur)

Finally, we document the newly added struct vc_state using kernel-doc.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-24 17:08:30 +02:00
..
2020-06-24 17:08:30 +02:00
2020-06-18 09:24:35 -06:00
2020-06-09 09:39:13 -07:00
2020-05-28 07:59:45 -07:00
2020-06-02 15:15:46 +01:00
2020-05-28 10:31:09 +02:00
2020-06-10 19:14:18 -07:00
2020-05-28 11:11:45 -07:00
2020-05-29 14:52:53 +02:00