patch-2.4.5 linux/arch/ppc/boot/utils/offset
Next file: linux/arch/ppc/boot/utils/piggyback.c
Previous file: linux/arch/ppc/boot/utils/mksimage.c
Back to the patch index
Back to the overall index
- Lines: 5
- Date:
Thu May 24 15:02:07 2001
- Orig file:
v2.4.4/linux/arch/ppc/boot/utils/offset
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.4/linux/arch/ppc/boot/utils/offset linux/arch/ppc/boot/utils/offset
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+OFFSET=`$1 -h $2 | grep $3 | grep -v zvmlinux| awk '{print $6}'`
+echo "0x"$OFFSET
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)