diff options
author | Wen Yang <[email protected]> | 2024-08-19 22:59:45 +0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2024-08-26 13:33:50 -0700 |
commit | 1bf8012fc6997f2117f6919369cde16659db60e0 (patch) | |
tree | 67a16c006c01ccfd84766cf5ae3bb580ee2ea05b /scripts/rustdoc_test_builder.rs | |
parent | a7050ca724807a60e639da953a092cf8dc6d1bf7 (diff) |
pstore: replace spinlock_t by raw_spinlock_t
pstore_dump() is called when both preemption and local IRQ are disabled,
and a spinlock is obtained, which is problematic for the RT kernel because
in this configuration, spinlocks are sleep locks.
Replace the spinlock_t with raw_spinlock_t to avoid sleeping in atomic context.
Signed-off-by: Wen Yang <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Guilherme G. Piccoli <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions