summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/types.h')
-rw-r--r--include/asm-sparc/types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sparc/types.h b/include/asm-sparc/types.h
index 69f93d60b8..2cf974a7a9 100644
--- a/include/asm-sparc/types.h
+++ b/include/asm-sparc/types.h
@@ -65,6 +65,9 @@ typedef unsigned long long u64;
/* DMA addresses are 32-bits wide */
typedef u32 dma_addr_t;
+typedef unsigned long phys_addr_t;
+typedef unsigned long phys_size_t;
+
#endif /* __KERNEL__ */
#endif /* __ASSEMBLY__ */
OpenPOWER on IntegriCloud