powerpc/mm/32: Remove the reserved memory hack
This hack, introduced in commit c5df7f7751
("powerpc: allow ioremap
within reserved memory regions") is now unnecessary.
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Michael Ellerman

vecāks
57deb8fea0
revīzija
7e1405917c
@@ -148,8 +148,7 @@ __ioremap_caller(phys_addr_t addr, unsigned long size, unsigned long flags,
|
||||
* mem_init() sets high_memory so only do the check after that.
|
||||
*/
|
||||
if (slab_is_available() && (p < virt_to_phys(high_memory)) &&
|
||||
page_is_ram(__phys_to_pfn(p)) &&
|
||||
!(__allow_ioremap_reserved && memblock_is_region_reserved(p, size))) {
|
||||
page_is_ram(__phys_to_pfn(p))) {
|
||||
printk("__ioremap(): phys addr 0x%llx is RAM lr %ps\n",
|
||||
(unsigned long long)p, __builtin_return_address(0));
|
||||
return NULL;
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user