]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Add a #define for aligning to a long-sized boundary
authorMichael Ellerman <michael@ellerman.id.au>
Thu, 17 Jul 2008 07:17:51 +0000 (17:17 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 22 Jul 2008 00:39:34 +0000 (10:39 +1000)
commit6a2a24bb755405d5311efaaed865042477b26f30
treeec40f3888c588438a0fbad72fb4cffb75b068efd
parent67260ac9a397eb7c9e2980be2865912d3840b042
powerpc: Add a #define for aligning to a long-sized boundary

Add a #define for aligning to a long-sized boundary. It would be nice
to use sizeof(long) for this, but that requires generating the value
with asm-offsets.c, and asm-offsets.c includes asm-compat.h and we
descend into some sort of recursive include hell.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
include/asm-powerpc/asm-compat.h