aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/prom_init_check.sh
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2008-06-24 11:43:00 +0200
committerJan Kara <jack@suse.cz>2008-06-24 11:43:00 +0200
commit19fd426a18b48a0446ba4b54ac66264916dcb7f3 (patch)
treeb9e0f2bc35e746c14f5e5e5519ed79f1eb4b0f98 /arch/powerpc/kernel/prom_init_check.sh
parente8183c2452041326c95258ecc7865b6fcd91c730 (diff)
parent62786b9e81a2dbe9c073a2ade52d33a2627d6d85 (diff)
Merge branch 'master' into for_mm
Diffstat (limited to 'arch/powerpc/kernel/prom_init_check.sh')
-rw-r--r--arch/powerpc/kernel/prom_init_check.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init_check.sh b/arch/powerpc/kernel/prom_init_check.sh
index 31729a9387d..2c7e8e87f77 100644
--- a/arch/powerpc/kernel/prom_init_check.sh
+++ b/arch/powerpc/kernel/prom_init_check.sh
@@ -48,6 +48,20 @@ do
fi
done
+ # ignore register save/restore funcitons
+ if [ "${UNDEF:0:9}" = "_restgpr_" ]; then
+ OK=1
+ fi
+ if [ "${UNDEF:0:11}" = "_rest32gpr_" ]; then
+ OK=1
+ fi
+ if [ "${UNDEF:0:9}" = "_savegpr_" ]; then
+ OK=1
+ fi
+ if [ "${UNDEF:0:11}" = "_save32gpr_" ]; then
+ OK=1
+ fi
+
if [ $OK -eq 0 ]; then
ERROR=1
echo "Error: External symbol '$UNDEF' referenced" \