perf tools: Use __weak definition from linux/compiler.h
authorRui Teng <rui.teng@linux.vnet.ibm.com>
Thu, 28 Jul 2016 02:05:57 +0000 (10:05 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 18:37:33 +0000 (15:37 -0300)
commit11d8f870c8eb8dd41ade688fbad6946ad69243fe
treea721b62979f1e41fd2ddbb4c256ca1373174cb07
parentfa1f456592347c6f40c9d37ea407b029fda5324a
perf tools: Use __weak definition from linux/compiler.h

Replace __attribute__((weak)) with __weak definition

Signed-off-by: Rui Teng <rui.teng@linux.vnet.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1469671557-2256-2-git-send-email-rui.teng@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c