From: Ingo Molnar Date: Thu, 17 Jul 2008 15:38:17 +0000 (+0200) Subject: ftrace: fix lockup with MAXSMP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9fa111372a54f695f65e0de2f2a2108fe6cf3584;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ftrace: fix lockup with MAXSMP MAXSMP brings in lots of use of various bitops in smp_processor_id() and friends - causing ftrace to lock up during bootup: calling anon_inode_init+0x0/0x130 initcall anon_inode_init+0x0/0x130 returned 0 after 0 msecs calling acpi_event_init+0x0/0x57 [ hard hang ] So exclude the bitops facilities from tracing. Signed-off-by: Ingo Molnar --- diff --git a/lib/Makefile b/lib/Makefile index 2c62a9c06fbe..d90d31102e05 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -15,6 +15,9 @@ CFLAGS_REMOVE_string.o = -pg CFLAGS_REMOVE_spinlock_debug.o = -pg CFLAGS_REMOVE_list_debug.o = -pg CFLAGS_REMOVE_debugobjects.o = -pg +CFLAGS_REMOVE_find_next_bit.o = -pg +CFLAGS_REMOVE_cpumask.o = -pg +CFLAGS_REMOVE_bitmap.o = -pg endif lib-$(CONFIG_MMU) += ioremap.o