]> git.karo-electronics.de Git - linux-beck.git/commit
perf pmu: Use __weak definition from <linux/compiler.h>
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Wed, 10 Jun 2015 07:25:07 +0000 (00:25 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Jun 2015 21:21:15 +0000 (18:21 -0300)
commitc5de47f2e803c7e6ffc0a34b174d4d009c8bd8e1
tree8965d9ce9d29990c8bfa7b3aad420b721b51a01d
parent8e55735150934f9ab2ce8a8005626e5693a6b61d
perf pmu: Use __weak definition from <linux/compiler.h>

Jiri Olsa pointed out, that the <linux/compiler.h> defines the attribute
'__weak'. We might as well use that.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/1433921123-25327-4-git-send-email-sukadev@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/pmu.c