summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-03-08 09:41:25 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 08:33:46 -0700
commita465b08978d6b1109778101eeaccc150108624c7 (patch)
tree5c55b96b107e8738de958273acdb0758825d0402 /scripts
parent6ed09fc142ae8d938bf225e297e0be12fdbd1381 (diff)
modpost: fix ALL_INIT_DATA_SECTIONS
commit 9aaf440f8fabcebf9ea79a62ccf4c212e6544b49 upstream. This was lacking a comma between two supposed to be separate strings. Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mod/modpost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 2bd594e6d1b4..159b4cc084fd 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -849,7 +849,7 @@ static void check_section(const char *modname, struct elf_info *elf,
#define ALL_INIT_DATA_SECTIONS \
".init.setup$", ".init.rodata$", \
- ".devinit.rodata$", ".cpuinit.rodata$", ".meminit.rodata$" \
+ ".devinit.rodata$", ".cpuinit.rodata$", ".meminit.rodata$", \
".init.data$", ".devinit.data$", ".cpuinit.data$", ".meminit.data$"
#define ALL_EXIT_DATA_SECTIONS \
".exit.data$", ".devexit.data$", ".cpuexit.data$", ".memexit.data$"