mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
powerpc: Simplify symbol check in prom_init_check.sh
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
ce6d73c94d
commit
fe921c8c39
@ -50,24 +50,14 @@ do
|
||||
done
|
||||
|
||||
# ignore register save/restore funcitons
|
||||
if [ "${UNDEF:0:9}" = "_restgpr_" ]; then
|
||||
case $UNDEF in
|
||||
_restgpr_*|_restgpr0_*|_rest32gpr_*)
|
||||
OK=1
|
||||
fi
|
||||
if [ "${UNDEF:0:10}" = "_restgpr0_" ]; then
|
||||
;;
|
||||
_savegpr_*|_savegpr0_*|_save32gpr_*)
|
||||
OK=1
|
||||
fi
|
||||
if [ "${UNDEF:0:11}" = "_rest32gpr_" ]; then
|
||||
OK=1
|
||||
fi
|
||||
if [ "${UNDEF:0:9}" = "_savegpr_" ]; then
|
||||
OK=1
|
||||
fi
|
||||
if [ "${UNDEF:0:10}" = "_savegpr0_" ]; then
|
||||
OK=1
|
||||
fi
|
||||
if [ "${UNDEF:0:11}" = "_save32gpr_" ]; then
|
||||
OK=1
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ $OK -eq 0 ]; then
|
||||
ERROR=1
|
||||
|
Loading…
Reference in New Issue
Block a user