]> git.baikalelectronics.ru Git - kernel.git/commit
perf unwind: Fix libunwind build failure on i386 systems
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Sep 2019 17:36:48 +0000 (14:36 -0300)
committerIngo Molnar <mingo@kernel.org>
Thu, 26 Sep 2019 19:59:38 +0000 (21:59 +0200)
commit78c6eb330267884984c76dd415262c9d949c8f94
tree4409cf235790f11cc71ce25ca9ca5dfe353cb553
parent39a9749269e55bc2f68410d5444b5c0670bf2086
perf unwind: Fix libunwind build failure on i386 systems

Naresh Kamboju reported, that on the i386 build pr_err()
doesn't get defined properly due to header ordering:

  perf-in.o: In function `libunwind__x86_reg_id':
  tools/perf/util/libunwind/../../arch/x86/util/unwind-libunwind.c:109:
  undefined reference to `pr_err'

Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/arch/x86/util/unwind-libunwind.c