Commit 26acf400 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar
Browse files

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':
  undefined reference to `pr_err'

Reported-by: default avatarNaresh Kamboju <>
Signed-off-by: default avatarArnaldo Carvalho de Melo <>
Cc: David Ahern <>
Cc: Jiri Olsa <>
Cc: Linus Torvalds <>
Cc: Namhyung Kim <>
Cc: Peter Zijlstra <>
Cc: Thomas Gleixner <>
Signed-off-by: default avatarIngo Molnar <>
parent b11f7244
// SPDX-License-Identifier: GPL-2.0
#include <errno.h>
#include "../../util/debug.h"
#include <libunwind.h>
#include "perf_regs.h"
#include "../../util/unwind.h"
#include "../../util/debug.h"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment