]> err.no Git - linux-2.6/commitdiff
[MTD] physmap: Add support for 64 bit resources
authorStefan Roese <ml@stefan-roese.de>
Fri, 19 Jan 2007 07:40:04 +0000 (08:40 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 9 Feb 2007 14:50:41 +0000 (14:50 +0000)
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 <sr@denx.de>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/mtd/map.h

index 28d461d862bda1d042055c463613a1a87338b698..81f3a314dd76dfc6057ef9f7a82fff3b4d08c652 100644 (file)
@@ -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;