perf map: Add accessor for dso
[linux-2.6-microblaze.git] / tools / perf / util / symbol-elf.c
index 3084e55..5613728 100644 (file)
@@ -1435,7 +1435,7 @@ static int dso__process_kernel_symbol(struct dso *dso, struct map *map,
                *curr_mapp = curr_map;
                *curr_dsop = curr_dso;
        } else
-               *curr_dsop = curr_map->dso;
+               *curr_dsop = map__dso(curr_map);
 
        return 0;
 }