Skip to content

Commit 96597f6

Browse files
author
Alex Shi
committed
Merge branch 'v4.4/topic/coresight' into linux-linaro-lsk-v4.4
2 parents 53cf330 + de10b84 commit 96597f6

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

drivers/hwtracing/coresight/coresight-tmc.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,6 @@ static int tmc_probe(struct amba_device *adev, const struct amba_id *id)
388388
err_misc_register:
389389
coresight_unregister(drvdata->csdev);
390390
err_devm_kzalloc:
391-
if (drvdata->config_type == TMC_CONFIG_TYPE_ETR)
392-
dma_free_coherent(dev, drvdata->size,
393-
drvdata->vaddr, drvdata->paddr);
394391
return ret;
395392
}
396393

kernel/events/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@ static int __perf_pmu_output_stop(void *info)
58185818
{
58195819
struct perf_event *event = info;
58205820
struct pmu *pmu = event->pmu;
5821-
struct perf_cpu_context *cpuctx = get_cpu_ptr(pmu->pmu_cpu_context);
5821+
struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context);
58225822
struct remote_output ro = {
58235823
.rb = event->rb,
58245824
};

0 commit comments

Comments
 (0)