From 9a852dc9079d70fd5f5c89e01978ba89746f6b8a Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 3 Jun 2007 22:19:24 +0200 Subject: [PATCH] --- yaml --- r: 61841 b: refs/heads/master c: 1e29a706eef664f2c5014462d435f54a1952cc7b h: refs/heads/master i: 61839: 86fd1ce74c1b25a1cfe9a3cf619fc4908d5f9d1d v: v3 --- [refs] | 2 +- trunk/scripts/mod/modpost.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 504c09b1d4a7..a37d200f2cdc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 92cc6b0725d800dcc3b9d62b419724050e4f7872 +refs/heads/master: 1e29a706eef664f2c5014462d435f54a1952cc7b diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 015c6b0c8031..bb895b13c170 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/scripts/mod/modpost.c @@ -609,7 +609,7 @@ static int strrcmp(const char *s, const char *sub) * the pattern is identified by: * tosec = .init.text | .exit.text | .init.data * fromsec = .data - * atsym = *driver, *_template, *_sht, *_ops, *_probe, *probe_one, *_console + * atsym = *driver, *_template, *_sht, *_ops, *_probe, *probe_one, *_console, *_timer * * Pattern 3: * Whitelist all refereces from .text.head to .init.data @@ -634,6 +634,7 @@ static int secref_whitelist(const char *modname, const char *tosec, const char *pat2sym[] = { "driver", "_template", /* scsi uses *_template a lot */ + "_timer", /* arm uses ops structures named _timer a lot */ "_sht", /* scsi also used *_sht to some extent */ "_ops", "_probe",