Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06bea3db authored by Andrey Ryabinin's avatar Andrey Ryabinin Committed by Ingo Molnar
Browse files

locking/lockdep: Eliminate lockdep_init()



Lockdep is initialized at compile time now.  Get rid of lockdep_init().

Signed-off-by: default avatarAndrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Krinkin <krinkin.m.u@gmail.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Cc: mm-commits@vger.kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent a63f38cc
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -281,8 +281,6 @@ notrace void __init machine_init(unsigned long dt_ptr)
	 */
	set_ist(_vectors_start);

	lockdep_init();

	/*
	 * dtb is passed in from bootloader.
	 * fdt is linked in blob.
+0 −2
Original line number Diff line number Diff line
@@ -130,8 +130,6 @@ void __init machine_early_init(const char *cmdline, unsigned int ram,
	memset(__bss_start, 0, __bss_stop-__bss_start);
	memset(_ssbss, 0, _esbss-_ssbss);

	lockdep_init();

/* initialize device tree for usage in early_printk */
	early_init_devtree(_fdt_start);

+0 −2
Original line number Diff line number Diff line
@@ -114,8 +114,6 @@ extern unsigned int memset_nocache_branch; /* Insn to be replaced by NOP */

notrace void __init machine_init(u64 dt_ptr)
{
	lockdep_init();

	/* Enable early debugging if any specified (see udbg.h) */
	udbg_early_init();

+0 −3
Original line number Diff line number Diff line
@@ -255,9 +255,6 @@ void __init early_setup(unsigned long dt_ptr)
	setup_paca(&boot_paca);
	fixup_boot_paca();

	/* Initialize lockdep early or else spinlocks will blow */
	lockdep_init();

	/* -------- printk is now safe to use ------- */

	/* Enable early debugging if any specified (see udbg.h) */
+0 −1
Original line number Diff line number Diff line
@@ -448,7 +448,6 @@ void __init startup_init(void)
	rescue_initrd();
	clear_bss_section();
	init_kernel_storage_key();
	lockdep_init();
	lockdep_off();
	setup_lowcore_early();
	setup_facility_list();
Loading