1
0
Fork 0

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: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
hifive-unleashed-5.1
Randy Dunlap 2006-06-07 16:23:26 -07:00 committed by Sam Ravnborg
parent 1a0f3d422b
commit 35899c5751
1 changed files with 2 additions and 0 deletions

View File

@ -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 */