summaryrefslogtreecommitdiffstats
path: root/arch/ppc/include/asm/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/include/asm/types.h')
-rw-r--r--arch/ppc/include/asm/types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/ppc/include/asm/types.h b/arch/ppc/include/asm/types.h
index 4ebbb9e028..6eb3877032 100644
--- a/arch/ppc/include/asm/types.h
+++ b/arch/ppc/include/asm/types.h
@@ -39,10 +39,7 @@ typedef unsigned int u32;
typedef signed long long s64;
typedef unsigned long long u64;
-#define BITS_PER_LONG 32
-
-/* DMA addresses are 32-bits wide */
-typedef u32 dma_addr_t;
+#include <asm-generic/bitsperlong.h>
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */