diff options
author | David Ahern <david.ahern@oracle.com> | 2015-04-14 13:49:33 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-04-24 12:44:47 -0300 |
commit | 4ad1f4300e3bddf63109aa63cfb2d37e8585ecc7 (patch) | |
tree | 68f522be24889bbc5d913a4b57d36e2aba940db8 /kernel/configs | |
parent | de28c15daf60e9625bece22f13a091fac8d05f1d (diff) | |
download | blackbird-op-linux-4ad1f4300e3bddf63109aa63cfb2d37e8585ecc7.tar.gz blackbird-op-linux-4ad1f4300e3bddf63109aa63cfb2d37e8585ecc7.zip |
perf kmem: Fix compiles on RHEL6/OL6
0d68bc92c48 breaks compiles on RHEL6/OL6:
cc1: warnings being treated as errors
builtin-kmem.c: In function ‘search_page_alloc_stat’:
builtin-kmem.c:322: error: declaration of ‘stat’ shadows a global declaration
node = &parent->rb_left;
/usr/include/sys/stat.h:455: error: shadowed declaration is here
builtin-kmem.c: In function ‘perf_evsel__process_page_alloc_event’:
builtin-kmem.c:378: error: declaration of ‘stat’ shadows a global declaration
/usr/include/sys/stat.h:455: error: shadowed declaration is here
builtin-kmem.c: In function ‘perf_evsel__process_page_free_event’:
builtin-kmem.c:431: error: declaration of ‘stat’ shadows a global declaration
/usr/include/sys/stat.h:455: error: shadowed declaration is here
Rename local variable to pstat to avoid the name conflict.
Signed-off-by: David Ahern <david.ahern@oracle.com>
Link: http://lkml.kernel.org/r/1429033773-31383-1-git-send-email-david.ahern@oracle.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel/configs')
0 files changed, 0 insertions, 0 deletions