[2.6 patch] update scripts/namespace.pl

From: Adrian Bunk
Date: Mon Jan 24 2005 - 14:31:29 EST


The patch below removes some false positives I've observed.

Is this correct, or is there another correct solution?


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-rc2-mm1-full/scripts/namespace.pl.old 2005-01-24 19:45:52.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/scripts/namespace.pl 2005-01-24 20:20:58.000000000 +0100
@@ -406,6 +406,11 @@
&& $name !~ /^__.*per_cpu_end/
&& $name !~ /^__alt_instructions/
&& $name !~ /^__setup_/
+ && $name !~ /^jiffies/
+ && $name !~ /^__mod_timer/
+ && $name !~ /^__mod_page_state/
+ && $name !~ /^init_module/
+ && $name !~ /^cleanup_module/
) {
printf "Cannot resolve ";
printf "weak " if ($type eq "w");

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/