Namely convert: * IS_FG -> con_is_fg * DO_UPDATE -> con_should_update * CON_IS_VISIBLE -> con_is_visible DO_UPDATE was a weird name for a yes/no answer, so the new name is con_should_update.
Showing the changes to include/linux/console_struct.h (1 of 5 files). Show all
Unified · Split
| @@ -168,6 +168,9 @@ extern void vc_SAK(struct work_struct *work); · 167 unmodified lines | |||
| 168 | 168 | ||
| 169 | #define CUR_DEFAULT CUR_UNDERLINE | 169 | #define CUR_DEFAULT CUR_UNDERLINE |
| 170 | 170 | ||
| 171 | #define CON_IS_VISIBLE(conp) (*conp->vc_display_fg == conp) | 171 | static inline bool con_is_visible(const struct vc_data *vc) |
| 172 | { | ||
| 173 | return *vc->vc_display_fg == vc; | ||
| 174 | } | ||
| 172 | 175 | ||
| 173 | #endif /* _LINUX_CONSOLE_STRUCT_H */ | 176 | #endif /* _LINUX_CONSOLE_STRUCT_H */ |