diff options
Diffstat (limited to 'include/asm-ppc/dbdma.h')
-rw-r--r-- | include/asm-ppc/dbdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/dbdma.h b/include/asm-ppc/dbdma.h index 6047f288c70b..8973565f95d3 100644 --- a/include/asm-ppc/dbdma.h +++ b/include/asm-ppc/dbdma.h | |||
@@ -88,7 +88,7 @@ struct dbdma_cmd { | |||
88 | #define WAIT_ALWAYS 3 /* always wait */ | 88 | #define WAIT_ALWAYS 3 /* always wait */ |
89 | 89 | ||
90 | /* Align an address for a DBDMA command structure */ | 90 | /* Align an address for a DBDMA command structure */ |
91 | #define DBDMA_ALIGN(x) (((unsigned)(x) + sizeof(struct dbdma_cmd) - 1) \ | 91 | #define DBDMA_ALIGN(x) (((unsigned long)(x) + sizeof(struct dbdma_cmd) - 1) \ |
92 | & -sizeof(struct dbdma_cmd)) | 92 | & -sizeof(struct dbdma_cmd)) |
93 | 93 | ||
94 | /* Useful macros */ | 94 | /* Useful macros */ |