summaryrefslogtreecommitdiffstats
path: root/mm/madvise.c
diff options
context:
space:
mode:
authorDavid Ahern <david.ahern@oracle.com>2015-03-19 16:05:57 -0400
committerDavid S. Miller <davem@davemloft.net>2015-03-19 18:54:49 -0700
commit5b0d4b5514bbcce69b516d0742f2cfc84ebd6db3 (patch)
tree2bb8ddcb4b95ff266e21ca57ba3248d22a943f6c /mm/madvise.c
parentb314acaccd7e0d55314d96be4a33b5f50d0b3344 (diff)
downloadlinux-5b0d4b5514bbcce69b516d0742f2cfc84ebd6db3.tar.bz2
sparc: perf: Remove redundant perf_pmu_{en|dis}able calls
perf_pmu_disable is called by core perf code before pmu->del and the enable function is called by core perf code afterwards. No need to call again within sparc_pmu_del. Ditto for pmu->add and sparc_pmu_add. Signed-off-by: David Ahern <david.ahern@oracle.com> Acked-by: Bob Picco <bob.picco@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions