aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mod/modpost.c
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2007-05-29 16:33:01 -0400
committerSam Ravnborg <sam@ravnborg.org>2007-07-16 16:41:11 -0400
commit1de564bbf8b630ab356571cdbd15b7d5adb1c20d (patch)
tree3f04b53cd6ba721d5000fd75e3dbce14f23b2b8b /scripts/mod/modpost.c
parent1abe02fef95366208c264635a886785d18fd38bb (diff)
kbuild: .paravirtprobe section is obsolete, so modpost doesn't need to handle it
The .paravirtprobe section is obsolete, so modpost doesn't need to handle it. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r--scripts/mod/modpost.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index fa33a6b92a9d..ece09c55e09e 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -637,12 +637,6 @@ static int strrcmp(const char *s, const char *sub)
637 * fromsec = .text* 637 * fromsec = .text*
638 * refsymname = logo_ 638 * refsymname = logo_
639 * 639 *
640 * Pattern 8:
641 * Symbols contained in .paravirtprobe may safely reference .init.text.
642 * The pattern is:
643 * tosec = .init.text
644 * fromsec = .paravirtprobe
645 *
646 * Pattern 10: 640 * Pattern 10:
647 * ia64 has machvec table for each platform and 641 * ia64 has machvec table for each platform and
648 * powerpc has a machine desc table for each platform. 642 * powerpc has a machine desc table for each platform.
@@ -726,11 +720,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
726 (strncmp(refsymname, "logo_", strlen("logo_")) == 0)) 720 (strncmp(refsymname, "logo_", strlen("logo_")) == 0))
727 return 1; 721 return 1;
728 722
729 /* Check for pattern 8 */
730 if ((strcmp(tosec, ".init.text") == 0) &&
731 (strcmp(fromsec, ".paravirtprobe") == 0))
732 return 1;
733
734 /* Check for pattern 10 */ 723 /* Check for pattern 10 */
735 if ((strcmp(fromsec, ".machvec") == 0) || 724 if ((strcmp(fromsec, ".machvec") == 0) ||
736 (strcmp(fromsec, ".machine.desc") == 0)) 725 (strcmp(fromsec, ".machine.desc") == 0))