|
@@ -57,14 +57,6 @@ void __iomem *__ioremap(unsigned long phys_addr, unsigned long size,
|
|
|
if (is_pci_memory_fixed_range(phys_addr, size))
|
|
|
return (void __iomem *)phys_addr;
|
|
|
|
|
|
-#if !defined(CONFIG_PMB_FIXED)
|
|
|
- /*
|
|
|
- * Don't allow anybody to remap normal RAM that we're using..
|
|
|
- */
|
|
|
- if (phys_addr < virt_to_phys(high_memory))
|
|
|
- return NULL;
|
|
|
-#endif
|
|
|
-
|
|
|
/*
|
|
|
* Mappings have to be page-aligned
|
|
|
*/
|