The .paravirtprobe section is obsolete, so modpost doesn't need to handle it

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>, Sam Ravnborg <sam@...>
Cc: Andrew Morton <akpm@...>, Eric W. Biederman <ebiederm@...>, Rusty Russell <rusty@...>, Linux Kernel Mailing List <linux-kernel@...>
Date: Tuesday, May 29, 2007 - 4:33 pm

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 */


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
The .paravirtprobe section is obsolete, so modpost doesn't n..., Jeremy Fitzhardinge, (Tue May 29, 4:33 pm)