summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKeith Owens <kaos@ocs.com.au>2004-10-19 18:41:42 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:41:42 -0700
commit3dc597946764f15857ef7c15bca3aed966d4725e (patch)
tree1c2068ca8e3125207618abcacdd1cc0cd3b31155 /scripts
parent49c8ca187c249181cffd8c2d324c0bbaf7f326a7 (diff)
[PATCH] reference_init fix
Treat .pci_fixup entries the same as .init code/data. Signed-off-by: Keith Owens <kaos@ocs.com.au> 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.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/reference_init.pl b/scripts/reference_init.pl
index b4e37dc3a944..23cea187a857 100644
--- a/scripts/reference_init.pl
+++ b/scripts/reference_init.pl
@@ -93,6 +93,8 @@ foreach $object (sort(keys(%object))) {
$from !~ /\.stab$/ &&
$from !~ /\.rodata$/ &&
$from !~ /\.text\.lock$/ &&
+ $from !~ /\.pci_fixup_header$/ &&
+ $from !~ /\.pci_fixup_final$/ &&
$from !~ /\.debug_/)) {
printf("Error: %s %s refers to %s\n", $object, $from, $line);
}