[PATCH 09/11] resource: Change walk_system_ram to use System RAM type

2015-12-14 Thread Toshi Kani
Change walk_system_ram_res() and walk_system_ram_range() to call find_next_iomem_res() by setting IORESOURCE_SYSTEM_RAM to @res->flags and NULL to @name. With this change, they walk through the resource table without doing strcmp(). No functional change is made to the interfaces. Cc: Andrew

[PATCH 09/11] resource: Change walk_system_ram to use System RAM type

2015-12-14 Thread Toshi Kani
Change walk_system_ram_res() and walk_system_ram_range() to call find_next_iomem_res() by setting IORESOURCE_SYSTEM_RAM to @res->flags and NULL to @name. With this change, they walk through the resource table without doing strcmp(). No functional change is made to the interfaces. Cc: Andrew