powerpc: Add helper functions for synthesising instructions at runtime
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 3 Nov 2005 06:57:53 +0000 (17:57 +1100)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 3 Nov 2005 06:57:53 +0000 (17:57 +1100)
commitc87ef1171db207d9d19f87ad12db92974d95c466
tree18f229ae7cd22fd7cb2c9ab54a6b5632a08d45c2
parente19e4ab4154a831788365c07e7a10d9114bba46c
powerpc: Add helper functions for synthesising instructions at runtime

There's a few places already, and soon will be more, where we synthesise
branch instructions at runtime. Rather than doing it by hand in each case,
it would make sense to have one implementation.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
include/asm-powerpc/system.h