From: Jan Kiszka Date: Tue, 17 Feb 2015 21:46:58 +0000 (-0800) Subject: scripts/gdb: add get_target_endianness helper X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~62^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f994963745b9cea89a2816dae7cc3a1fc01adcc;p=pandora-kernel.git scripts/gdb: add get_target_endianness helper Parse the target endianness from the output of "show endian" and cache the result to return it via the new helper get_target_endiannes. We will need it for reading integers from buffers that contain target memory. Signed-off-by: Jan Kiszka Cc: Thomas Gleixner Cc: Jason Wessel Cc: Andi Kleen Cc: Ben Widawsky Cc: Borislav Petkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed