Merge tag 'printk-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/git/printk...
[sfrench/cifs-2.6.git] / lib / dump_stack.c
index 6b7f1bf6715d8abb493a04ede2539018eaef3287..83471e81501a7249306ef62e173c4dce7960adc7 100644 (file)
@@ -102,9 +102,9 @@ asmlinkage __visible void dump_stack_lvl(const char *log_lvl)
         * Permit this cpu to perform nested stack dumps while serialising
         * against other CPUs
         */
-       printk_cpu_lock_irqsave(flags);
+       printk_cpu_sync_get_irqsave(flags);
        __dump_stack(log_lvl);
-       printk_cpu_unlock_irqrestore(flags);
+       printk_cpu_sync_put_irqrestore(flags);
 }
 EXPORT_SYMBOL(dump_stack_lvl);