diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | 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 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)) |