[PATCH v2] powerpc: support sizes greater than an unsigned long

Cristian Stoica cristian.stoica at freescale.com
Fri Jun 12 02:10:36 AEST 2015


On 06/11/2015 06:38 PM, Greg KH wrote:
> On Thu, Jun 11, 2015 at 05:42:00PM +0300, Cristian Stoica wrote:
> 
> Why?
> 

This patch matches the input argument "size" of ioremap() with the output of request_mem_region() (which is
resource_size_t).
Since the latter is used as input to the former, the types should match (even though mapping more than 4G is not usually
expected). There are a lot of such differences in the code and this is an attempt to reduce that.

Cristian S.




More information about the Linuxppc-dev mailing list