sys_ppu: another fixup

This commit is contained in:
Nekotekina 2020-03-02 10:35:39 +03:00
parent 73a9946212
commit bd234a7668

View File

@ -18,7 +18,7 @@ struct ppu_thread_cleaner
void clean(u32 new_id)
{
if (old_id) [[likely]]
if (old_id || new_id) [[likely]]
{
if (u32 id = old_id.exchange(new_id)) [[likely]]
{