mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Kernel: Resolve clang-tidy readability-implicit-bool-conversion warnings
... In files included from Kernel/Process.cpp and Kernel/Thread.cpp
This commit is contained in:
parent
6f580f2047
commit
a92132e44a
17 changed files with 85 additions and 84 deletions
|
@ -124,7 +124,7 @@ protected:
|
|||
|
||||
void evaluate_block_conditions()
|
||||
{
|
||||
if (Processor::current_in_irq()) {
|
||||
if (Processor::current_in_irq() != 0) {
|
||||
// If called from an IRQ handler we need to delay evaluation
|
||||
// and unblocking of waiting threads. Note that this File
|
||||
// instance may be deleted until the deferred call is executed!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue