Commit 1de564bb authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by Sam Ravnborg

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: default avatarJeremy Fitzhardinge <jeremy@xensource.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1abe02fe
...@@ -637,12 +637,6 @@ static int strrcmp(const char *s, const char *sub) ...@@ -637,12 +637,6 @@ static int strrcmp(const char *s, const char *sub)
* fromsec = .text* * fromsec = .text*
* refsymname = logo_ * refsymname = logo_
* *
* Pattern 8:
* Symbols contained in .paravirtprobe may safely reference .init.text.
* The pattern is:
* tosec = .init.text
* fromsec = .paravirtprobe
*
* Pattern 10: * Pattern 10:
* ia64 has machvec table for each platform and * ia64 has machvec table for each platform and
* powerpc has a machine desc table for each platform. * powerpc has a machine desc table for each platform.
...@@ -726,11 +720,6 @@ static int secref_whitelist(const char *modname, const char *tosec, ...@@ -726,11 +720,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
(strncmp(refsymname, "logo_", strlen("logo_")) == 0)) (strncmp(refsymname, "logo_", strlen("logo_")) == 0))
return 1; return 1;
/* Check for pattern 8 */
if ((strcmp(tosec, ".init.text") == 0) &&
(strcmp(fromsec, ".paravirtprobe") == 0))
return 1;
/* Check for pattern 10 */ /* Check for pattern 10 */
if ((strcmp(fromsec, ".machvec") == 0) || if ((strcmp(fromsec, ".machvec") == 0) ||
(strcmp(fromsec, ".machine.desc") == 0)) (strcmp(fromsec, ".machine.desc") == 0))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment