X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-ppc%2Fdbdma.h;h=8973565f95d39f38da42c49ddd6b9110e5687e7e;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=6047f288c70b81cf23b772e10c720d0bbee50aae;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/include/asm-ppc/dbdma.h b/include/asm-ppc/dbdma.h index 6047f288c..8973565f9 100644 --- a/include/asm-ppc/dbdma.h +++ b/include/asm-ppc/dbdma.h @@ -88,7 +88,7 @@ struct dbdma_cmd { #define WAIT_ALWAYS 3 /* always wait */ /* Align an address for a DBDMA command structure */ -#define DBDMA_ALIGN(x) (((unsigned)(x) + sizeof(struct dbdma_cmd) - 1) \ +#define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \ & -sizeof(struct dbdma_cmd)) /* Useful macros */