summaryrefslogtreecommitdiffstats
path: root/include/linux/types.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2006-06-13 00:49:31 +0200
committerGreg Kroah-Hartman2006-06-27 18:23:59 +0200
commitcf7c712c11fb881842534efe98a07f36f1c86c65 (patch)
treeff300bef11d0dd251aba9038d1b750c84edf4237 /include/linux/types.h
parent[PATCH] 64bit resource: fix up printks for resources in misc drivers (diff)
downloadkernel-qcow2-linux-cf7c712c11fb881842534efe98a07f36f1c86c65.tar.gz
kernel-qcow2-linux-cf7c712c11fb881842534efe98a07f36f1c86c65.tar.xz
kernel-qcow2-linux-cf7c712c11fb881842534efe98a07f36f1c86c65.zip
[PATCH] 64bit resource: introduce resource_size_t for the start and end of struct resource
But do not change it from what it currently is (unsigned long) Based on a patch series originally from Vivek Goyal <vgoyal@in.ibm.com> Cc: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/types.h')
-rw-r--r--include/linux/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index a5e46e783ffa..a021e1577336 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -177,6 +177,8 @@ typedef __u64 __bitwise __be64;
#ifdef __KERNEL__
typedef unsigned __bitwise__ gfp_t;
+
+typedef unsigned long resource_size_t;
#endif
struct ustat {