diff options
author | Jiri Slaby (SUSE) <jirislaby@kernel.org> | 2025-08-14 09:24:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-17 12:46:25 +0200 |
commit | 4847d1187402a5027d9a04393f12d52a5a1d7f98 (patch) | |
tree | fd65e1bd701c5e7bb0f3ea50fbc91fc6bf5b5230 /rust/helpers/build_bug.c | |
parent | 9391ab1ed9b3fe0d1af7d7858d9bf42f476628c8 (diff) |
console: introduce console_lock guard()s
Having this, guards like these work:
guard(console_lock)();
or
scoped_guard(console_lock) {
...
}
See e.g. "vc_screen: use guard()s" later in this series.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250814072456.182853-2-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions