]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "x86/paravirt: Set up the virt_spin_lock_key after static keys get initialized"
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Wed, 26 Jun 2019 08:57:09 +0000 (16:57 +0800)
committerJuergen Gross <jgross@suse.com>
Wed, 17 Jul 2019 06:09:57 +0000 (08:09 +0200)
commit6c17f1c2b023ee2e8e89dcf8ad8e4482d2265cc4
tree1242e2b61791af6b921eaf6bc2c2514e7d38f62e
parenta2a7a30ba3c61de9307a98ec64e7c79e4e1b044f
Revert "x86/paravirt: Set up the virt_spin_lock_key after static keys get initialized"

This reverts commit ef43838f42650d09a1fec63d969895620099a562.

Commit c06a25805333 ("x86/jump_label: Initialize static branching
early") adds jump_label_init() call in setup_arch() to make static
keys initialized early, so we could use the original simpler code
again.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/kernel/smpboot.c
arch/x86/xen/spinlock.c