summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAdrian Hunter2013-07-04 15:20:26 +0200
committerArnaldo Carvalho de Melo2013-07-12 18:52:54 +0200
commit93edcbd91d888c7530c7fc749176fc935b8e2287 (patch)
tree62d98c3dd72bb775fc965b7d71b324ffbfaffecc /drivers/platform
parentperf tools: Add const specifier to perf_pmu__find name parameter (diff)
downloadkernel-qcow2-linux-93edcbd91d888c7530c7fc749176fc935b8e2287.tar.gz
kernel-qcow2-linux-93edcbd91d888c7530c7fc749176fc935b8e2287.tar.xz
kernel-qcow2-linux-93edcbd91d888c7530c7fc749176fc935b8e2287.zip
perf evlist: Tidy duplicated munmap code
The same lines of code are used in three places. Make it a new function '__perf_evlist__munmap()'. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1372944040-32690-8-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions