[PATCH] [POWERPC] convert transfer_to_handler into a macro

Scott Wood scottwood at freescale.com
Wed Apr 30 05:40:56 EST 2008


On Tue, Apr 29, 2008 at 02:36:32PM -0500, Kumar Gala wrote:
> what's an assembler macro look like?

.macro macroname arg1 arg2
	do something with \arg1
	do something with \arg2
.endm

>  I don't believe we use them anywhere else.

arch/powerpc/boot/ps3-hvcall.S uses them, as well as lots of asm code in
other architectures.

-Scott



More information about the Linuxppc-dev mailing list