summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mbxboot/offset
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/mbxboot/offset')
-rw-r--r--arch/ppc/mbxboot/offset4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/mbxboot/offset b/arch/ppc/mbxboot/offset
new file mode 100644
index 000000000..52a1b5546
--- /dev/null
+++ b/arch/ppc/mbxboot/offset
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+OFFSET=`$1 -h $2 | grep $3 | grep -v zvmlinux| awk '{print $6}'`
+echo "0x"$OFFSET