x86/oprof: fix !HVM && !PV32 build
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Apr 2021 13:57:27 +0000 (15:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Apr 2021 13:57:27 +0000 (15:57 +0200)
commitfae4f071e1e14b005c8c4d79eda9ec7778cb21d8
treec3f147e71b2633ee5a059b5c040ff38b7984f5a7
parente9b4fe26364950258c9f57f0f68eccb778eeadbb
x86/oprof: fix !HVM && !PV32 build

clang, at the very least, doesn't like unused inline functions, unless
their definitions live in a header.

Fixes: d23d792478 ("x86: avoid building COMPAT code when !HVM && !PV32")
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/oprofile/backtrace.c