uio: support memory sizes larger than 32 bits

This is a completion to 27a90700a4
The size field is also increased to allow values larger than 32 bits
on platforms that have more than 32 bit physical addresses.

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Cristian Stoica
2014-10-09 15:00:27 +03:00
committed by Greg Kroah-Hartman
parent 5559b7bc42
commit e0f1147cc9
3 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ struct uio_map;
struct uio_mem {
const char *name;
phys_addr_t addr;
unsigned long size;
resource_size_t size;
int memtype;
void __iomem *internal_addr;
struct uio_map *map;