]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
perf symbols: Add missing linux/refcount.h to symbol.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Aug 2019 13:19:19 +0000 (10:19 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 1 Sep 2019 01:19:28 +0000 (22:19 -0300)
We use refcount_t there, so we need that header or else it'll break when
we remove dso.h, that is from where it is getting that definition now...

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-5albrk0uve6x9cf6x3ebwpae@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.h

index bcc0d84a42b802d180dadd93a8d32fdf893bf4d0..22660c7614a5c2f67c6201e70882ad2b448d65b3 100644 (file)
@@ -3,6 +3,7 @@
 #define __PERF_SYMBOL 1
 
 #include <linux/types.h>
+#include <linux/refcount.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <linux/list.h>