[kernel] r21990 - people/benh

Ben Hutchings benh at moszumanska.debian.org
Fri Oct 31 01:41:17 UTC 2014


Author: benh
Date: Fri Oct 31 01:41:16 2014
New Revision: 21990

Log:
disasm-oops: Add support for ppc64 and (untested) ppc64le

Modified:
   people/benh/disasm-oops

Modified: people/benh/disasm-oops
==============================================================================
--- people/benh/disasm-oops	Fri Oct 31 01:40:01 2014	(r21989)
+++ people/benh/disasm-oops	Fri Oct 31 01:41:16 2014	(r21990)
@@ -28,6 +28,8 @@
     'sparc': '>I',
     'sparc64': '>I',
     'm68k': '>H',
+    'ppc64': '>I',
+    'ppc64le': '<I',
     }
 
 if len(sys.argv) == 1 or sys.argv[1] == '--help':
@@ -50,6 +52,10 @@
     machine_opts = ['-m', 'sparc:v9b', '-EB']
 elif machine == 'sparc64':
     machine_opts = ['-m', 'sparc:v9b', '-EB']
+elif machine == 'ppc64':
+    machine_opts = ['-m', 'powerpc:common64', '-EB']
+elif machine == 'ppc64le':
+    machine_opts = ['-m', 'powerpc:common64', '-EL']
 else:
     machine_opts = ['-m', machine]
 



More information about the Kernel-svn-changes mailing list