Skip to contentSkip to conversation

physmap: Add support for 64 bit resources

PATCH In review Stefan Roese 2 participants 2 messages Jan 19, 2007 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 physmap: Add support for 64 bit resources

[PATCH] [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.

---
commit ae296c97b72c0dc2d2fc235ceb2a7ad1b18e1e82
tree ffed7ade867181a7aee5bda99f88a33a86cd0396
parent b194c4975c5b34440fb1efda5cb2f27c8e89132a
author Stefan Roese <[email protected]> Fri, 19 Jan 2007 08:38:12 +0100 committer Stefan Roese <[email protected]> Fri, 19 Jan 2007 08:38:12 +0100

 include/linux/mtd/map.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/linux/mtd/map.h +1 -1
index 28d461d..81f3a31 100644
@@ -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;