[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <11846813441521-git-send-email-sam@ravnborg.org>
Date: Tue, 17 Jul 2007 16:08:43 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: linux-kernel@...r.kernel.org
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Jeremy Fitzhardinge <jeremy@...source.com>,
Sam Ravnborg <sam@...nborg.org>
Subject: [PATCH 14/33] kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it
From: Jeremy Fitzhardinge <jeremy@...p.org>
The .paravirtprobe section is obsolete, so modpost doesn't need to handle it.
Signed-off-by: Jeremy Fitzhardinge <jeremy@...source.com>
Cc: Rusty Russell <rusty@...tcorp.com.au>
Signed-off-by: Sam Ravnborg <sam@...nborg.org>
---
scripts/mod/modpost.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index fa33a6b..ece09c5 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -637,12 +637,6 @@ static int strrcmp(const char *s, const char *sub)
* fromsec = .text*
* refsymname = logo_
*
- * Pattern 8:
- * Symbols contained in .paravirtprobe may safely reference .init.text.
- * The pattern is:
- * tosec = .init.text
- * fromsec = .paravirtprobe
- *
* Pattern 10:
* ia64 has machvec table for each platform and
* powerpc has a machine desc table for each platform.
@@ -726,11 +720,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
(strncmp(refsymname, "logo_", strlen("logo_")) == 0))
return 1;
- /* Check for pattern 8 */
- if ((strcmp(tosec, ".init.text") == 0) &&
- (strcmp(fromsec, ".paravirtprobe") == 0))
- return 1;
-
/* Check for pattern 10 */
if ((strcmp(fromsec, ".machvec") == 0) ||
(strcmp(fromsec, ".machine.desc") == 0))
--
1.5.0.6
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists