From: Stefan Roese Date: Fri, 19 Jan 2007 07:40:04 +0000 (+0100) Subject: [MTD] physmap: Add support for 64 bit resources X-Git-Tag: v2.6.21-rc1~66^2~24 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0d36da3b409536a24266c5f0972f2e1cfae1afd4;p=~shefty%2Frdma-dev.git [MTD] physmap: Add support for 64 bit resources This patch adds support for 64 bit resources enabled via the CONFIG_RESOURCES_64BIT option. Now a 64 bit can be passed to the physmap driver. Signed-off-by: Stefan Roese Signed-off-by: Lennert Buytenhek Signed-off-by: David Woodhouse --- diff --git a/include/linux/mtd/map.h b/include/linux/mtd/map.h index 28d461d862b..81f3a314dd7 100644 --- a/include/linux/mtd/map.h +++ b/include/linux/mtd/map.h @@ -183,7 +183,7 @@ typedef union { struct map_info { char *name; unsigned long size; - unsigned long phys; + resource_size_t phys; #define NO_XIP (-1UL) void __iomem *virt;