diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2006-06-07 16:23:26 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-06-08 20:20:23 +0200 |
commit | 35899c57516be6eaa42cc27151767c52d75b2979 (patch) | |
tree | a21db210c02e9387f93a8015d757a624710652cc /scripts/mod/modpost.c | |
parent | 1a0f3d422bb9ac959383a5ed1a4127f5900f56a8 (diff) | |
download | kernel_samsung_aries-35899c57516be6eaa42cc27151767c52d75b2979.zip kernel_samsung_aries-35899c57516be6eaa42cc27151767c52d75b2979.tar.gz kernel_samsung_aries-35899c57516be6eaa42cc27151767c52d75b2979.tar.bz2 |
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>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index d0f86ed..94047bc 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -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 */ |