]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Unify opcode definitions and support
authorKumar Gala <galak@kernel.crashing.org>
Tue, 10 Feb 2009 20:10:44 +0000 (20:10 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 22 Feb 2009 23:48:56 +0000 (10:48 +1100)
commit16c57b3620d77e0bc981da5ef32beae730512684
tree115045916a264f56f55751ce2948d59e03b16c0c
parentbb9b903527eb16c8fdad59a562c29e89f5dcf233
powerpc: Unify opcode definitions and support

Create a new header that becomes a single location for defining PowerPC
opcodes used by code that is either generationg instructions
at runtime (fixups, debug, etc.), emulating instructions, or just
compiling instructions old assemblers don't know about.

We currently don't handle the floating point emulation or alignment decode
as both are better handled by the specific decode support they already
have.

Added support for the new dcbzl, dcbal, msgsnd, tlbilx, & wait instructions
since older assemblers don't know about them.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/code-patching.h
arch/powerpc/include/asm/ppc-opcode.h [new file with mode: 0644]
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/kernel/crash_dump.c
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/ftrace.c
arch/powerpc/kernel/head_booke.h
arch/powerpc/kernel/module_64.c
arch/powerpc/kernel/traps.c
arch/powerpc/lib/feature-fixups.c