patch-2.4.5 linux/arch/ppc/boot/utils/sioffset

Next file: linux/arch/ppc/boot/utils/sisize
Previous file: linux/arch/ppc/boot/utils/piggyback.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/arch/ppc/boot/utils/sioffset linux/arch/ppc/boot/utils/sioffset
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+OFFSET=`grep $1 sImage.map | awk '{print $2}'`
+echo "0x"$OFFSET

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)