--- include/linux/console_struct.h +++ include/linux/console_struct.h @@ -170,7 +181,11 @@ struct vc_data { struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ struct uni_pagedir *vc_uni_pagedir; struct uni_pagedir **vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */ - struct uni_screen *vc_uni_screen; /* unicode screen content */ +#ifdef CONFIG_FRAMEBUFFER_CONSOLE_SOFT_SCROLLBACK_GPM + uint32_t *vc_uniscr_buf; /* Address of unicode screen content */ + unsigned int vc_uniscr_char_size; /* Size of *vc-uniscr_buf in 32-bit chars */ + uint32_t *vc_uniscr_curr; /* Pos of first char of (unscrolled) screen */ +#endif /* additional information is in vt_kern.h */ };