File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
arch/powerpc/platforms/pseries Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -1094,15 +1094,6 @@ static phys_addr_t ddw_memory_hotplug_max(void)
1094
1094
phys_addr_t max_addr = memory_hotplug_max ();
1095
1095
struct device_node * memory ;
1096
1096
1097
- /*
1098
- * The "ibm,pmemory" can appear anywhere in the address space.
1099
- * Assuming it is still backed by page structs, set the upper limit
1100
- * for the huge DMA window as MAX_PHYSMEM_BITS.
1101
- */
1102
- if (of_find_node_by_type (NULL , "ibm,pmemory" ))
1103
- return (sizeof (phys_addr_t ) * 8 <= MAX_PHYSMEM_BITS ) ?
1104
- (phys_addr_t ) - 1 : (1ULL << MAX_PHYSMEM_BITS );
1105
-
1106
1097
for_each_node_by_type (memory , "memory" ) {
1107
1098
unsigned long start , size ;
1108
1099
int n_mem_addr_cells , n_mem_size_cells , len ;
You can’t perform that action at this time.
0 commit comments