]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/devres.c
devres: support sizes greater than an unsigned long
authorCristian Stoica <cristian.stoica@freescale.com>
Tue, 7 Oct 2014 15:25:43 +0000 (18:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 18:09:07 +0000 (10:09 -0800)
commit5559b7bc42f1ff85759246e40ef73abf3171d8d9
treefdb8002a804ce063e2c7374064a57c20a30754a5
parent5ebdc364588a5b988fdaf56e2ec01815f1876e9a
devres: support sizes greater than an unsigned long

As in 4f452e8aa492c0b8028ca9b4bdb4d018ba28c6c7, use resource_size_t
to accomodate sizes greater than the size of an unsigned long int 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>
include/linux/io.h
lib/devres.c