]> git.baikalelectronics.ru Git - kernel.git/commit
lib/smp_processor_id: fix imbalanced instrumentation_end() call
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Wed, 22 Jun 2022 05:46:31 +0000 (14:46 +0900)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:41 +0000 (17:31 -0700)
commitbd766e960600bbf9acd95175eb698b932ed39f93
tree15ce393dfd030112d4e56f80f311f5777e075751
parentb67d12213afffeda74177e1439146016cf6ee929
lib/smp_processor_id: fix imbalanced instrumentation_end() call

Currently instrumentation_end() won't be called if printk_ratelimit()
returned false.

Link: https://lkml.kernel.org/r/a636d8e0-ad32-5888-acac-671f7f553bb3@I-love.SAKURA.ne.jp
Fixes: 0b4ac6e9acb39890 ("lib/smp_processor_id: Move it into noinstr section")
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Alexandre Chartre <alexandre.chartre@oracle.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/smp_processor_id.c