projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: add phys_addr_t for holding physical addresses
[deliverable/linux.git]
/
include
/
linux
/
types.h
diff --git
a/include/linux/types.h
b/include/linux/types.h
index d4a9ce6e2760394a7fb29d4812e03a4728a9a555..022c668496da16782940e08047745e849c6350ef 100644
(file)
--- a/
include/linux/types.h
+++ b/
include/linux/types.h
@@
-197,6
+197,12
@@
typedef u64 resource_size_t;
typedef u32 resource_size_t;
#endif
+#ifdef CONFIG_PHYS_ADDR_T_64BIT
+typedef u64 phys_addr_t;
+#else
+typedef u32 phys_addr_t;
+#endif
+
struct ustat {
__kernel_daddr_t f_tfree;
__kernel_ino_t f_tinode;
This page took
0.024856 seconds
and
5
git commands to generate.