From: Michael Ellerman Date: Wed, 22 Nov 2006 23:46:45 +0000 (+0100) Subject: [POWERPC] Make xmon disassembly optional X-Git-Tag: v2.6.20-rc2~6^2~13^2~13^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0426047cb684842700f0098f74842a38260dbae;p=pandora-kernel.git [POWERPC] Make xmon disassembly optional While adding spu disassembly support it struck me that we're actually carrying quite a lot of code around, just to do disassembly in the case of a crash. While on large systems it's not an issue, on smaller ones it might be nice to have xmon - but without the weight of the disassembly support. For a Cell build this saves ~230KB (!), and for pSeries ~195KB. We still support the 'di' and 'sdi' commands, however they just dump the instruction in hex. Move the definitions into a header to clean xmon.c just a tiny bit. Signed-off-by: Michael Ellerman Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed