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

Commit 35899c57 authored by Randy Dunlap's avatar Randy Dunlap Committed by Sam Ravnborg
Browse files

kbuild: ignore smp_locks section warnings from init/exit code



Add ".smp_locks" section to whitelist as being safe from
init and exit sections.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1a0f3d42
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -821,6 +821,7 @@ static int init_section_ref_ok(const char *name)
		".pci_fixup_final",
		".pdr",
		"__param",
		".smp_locks",
		NULL
	};
	/* Start of section names */
@@ -892,6 +893,7 @@ static int exit_section_ref_ok(const char *name)
		".exitcall.exit",
		".eh_frame",
		".stab",
		".smp_locks",
		NULL
	};
	/* Start of section names */