aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2004-10-25 04:20:41 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-25 04:20:41 -0700
commita710802b663e4d4a9ea0a634bfa3ecd6682565c5 (patch)
tree0861de0bcc9d2bbb0568c8e1d189bb98120d1b1b /scripts
parent4e98050732100b8a5775af5706fb9568d418caa3 (diff)
downloadhistory-a710802b663e4d4a9ea0a634bfa3ecd6682565c5.tar.gz
[PATCH] __init dependencies: ignore __param
Ignore __param section references; they aren't discarded. Error: ./drivers/mtd/devices/phram.o __param refers to 0000000000000010 R_X86_64_64 .init.text+0x0000000000000013 Error: ./drivers/scsi/dc395x.o __param refers to 0000000000000020 R_X86_64_64 .init.data+0x0000000000000064 Error: ./drivers/usb/gadget/ether.o __param refers to 0000000000000048 R_X86_64_64 .init.data+0x0000000000000020 Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/reference_init.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/reference_init.pl b/scripts/reference_init.pl
index 23cea187a8573d..e4c57a371fbac7 100644
--- a/scripts/reference_init.pl
+++ b/scripts/reference_init.pl
@@ -95,6 +95,7 @@ foreach $object (sort(keys(%object))) {
$from !~ /\.text\.lock$/ &&
$from !~ /\.pci_fixup_header$/ &&
$from !~ /\.pci_fixup_final$/ &&
+ $from !~ /\__param$/ &&
$from !~ /\.debug_/)) {
printf("Error: %s %s refers to %s\n", $object, $from, $line);
}