diff options
| author | John Ogness <[email protected]> | 2021-03-03 10:15:23 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-03-08 10:43:20 +0000 |
| commit | 636babdc06961f173696cb664550b4cc239dde2e (patch) | |
| tree | 470388fb57098441f2ab5496945656cdda10357a /drivers/gpu/drm/lima/lima_devfreq.c | |
| parent | printk: use atomic64_t for devkmsg_user.seq (diff) | |
| download | kernel-636babdc06961f173696cb664550b4cc239dde2e.tar.gz kernel-636babdc06961f173696cb664550b4cc239dde2e.zip | |
printk: add syslog_lock
The global variables @syslog_seq, @syslog_partial, @syslog_time
and write access to @clear_seq are protected by @logbuf_lock.
Once @logbuf_lock is removed, these variables will need their
own synchronization method. Introduce @syslog_lock for this
purpose.
@syslog_lock is a raw_spin_lock for now. This simplifies the
transition to removing @logbuf_lock. Once @logbuf_lock and the
safe buffers are removed, @syslog_lock can change to spin_lock.
Signed-off-by: John Ogness <[email protected]>
Reviewed-by: Petr Mladek <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions
