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

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
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment