From 5478f3805534db3bf396081fc630b6ec05fae80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sat, 30 Jan 2010 21:14:23 +0100 Subject: [PATCH] --- yaml --- r: 199513 b: refs/heads/master c: 0db252452378aa7a9e001a13226e1cd1dc61453d h: refs/heads/master i: 199511: 1ecb21e4ee27f90d1f9bc936a167b1872f9a383b v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 5a60a87acb6b..a99af500bfc5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af92a82d0fec4dfd344b2ffd7a63e30f05c53938 +refs/heads/master: 0db252452378aa7a9e001a13226e1cd1dc61453d diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 5dbe4db2bd42..3318692e4e76 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -862,10 +862,19 @@ const struct sectioncheck sectioncheck[] = { }, { .fromsec = { DATA_SECTIONS, NULL }, - .tosec = { ALL_INIT_SECTIONS, NULL }, + .tosec = { ALL_XXXINIT_SECTIONS, NULL }, .mismatch = DATA_TO_ANY_INIT, .symbol_white_list = { DEFAULT_SYMBOL_WHITE_LIST, NULL }, }, +{ + .fromsec = { DATA_SECTIONS, NULL }, + .tosec = { INIT_SECTIONS, NULL }, + .mismatch = DATA_TO_ANY_INIT, + .symbol_white_list = { + "*_template", "*_timer", "*_sht", "*_ops", + "*_probe", "*_probe_one", "*_console", NULL + }, +}, { .fromsec = { TEXT_SECTIONS, NULL }, .tosec = { ALL_EXIT_SECTIONS, NULL },