* The .paravirtprobe section is obsolete, so modpost doesn't need to handle it
@ 2007-05-29 20:33 Jeremy Fitzhardinge
2007-05-29 21:00 ` Sam Ravnborg
0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Fitzhardinge @ 2007-05-29 20:33 UTC (permalink / raw)
To: Andi Kleen, Sam Ravnborg
Cc: Andrew Morton, Eric W. Biederman, Rusty Russell,
Linux Kernel Mailing List
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>
Cc: Sam Ravnborg <sam@ravnborg.org>
---
scripts/mod/modpost.c | 11 -----------
1 file changed, 11 deletions(-)
===================================================================
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -634,12 +634,6 @@ static int strrcmp(const char *s, const
* 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.
@@ -721,11 +715,6 @@ static int secref_whitelist(const char *
if ((strcmp(tosec, ".init.data") == 0) &&
(strncmp(fromsec, ".text", strlen(".text")) == 0) &&
(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 */
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: The .paravirtprobe section is obsolete, so modpost doesn't need to handle it
2007-05-29 20:33 The .paravirtprobe section is obsolete, so modpost doesn't need to handle it Jeremy Fitzhardinge
@ 2007-05-29 21:00 ` Sam Ravnborg
0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2007-05-29 21:00 UTC (permalink / raw)
To: Jeremy Fitzhardinge
Cc: Andi Kleen, Andrew Morton, Eric W. Biederman, Rusty Russell,
Linux Kernel Mailing List
On Tue, May 29, 2007 at 01:33:01PM -0700, Jeremy Fitzhardinge wrote:
> 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>
> Cc: Sam Ravnborg <sam@ravnborg.org>
Applied.
Sam
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-29 20:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 20:33 The .paravirtprobe section is obsolete, so modpost doesn't need to handle it Jeremy Fitzhardinge
2007-05-29 21:00 ` Sam Ravnborg
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.