diff options
Diffstat (limited to 'kern/llsync.c')
-rw-r--r-- | kern/llsync.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kern/llsync.c b/kern/llsync.c index 05cd2318..d43bcefd 100644 --- a/kern/llsync.c +++ b/kern/llsync.c @@ -261,10 +261,8 @@ llsync_commit_checkpoint(unsigned int cpu) spinlock_lock_intr_save(&llsync_lock, &flags); - if (!bitmap_test(llsync_registered_cpus, cpu)) - return; - - llsync_commit_checkpoint_common(cpu); + if (bitmap_test(llsync_registered_cpus, cpu)) + llsync_commit_checkpoint_common(cpu); spinlock_unlock_intr_restore(&llsync_lock, flags); } |