提交 35899c57 编写于 作者: R Randy Dunlap 提交者: 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: NRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册