|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 1/2] x86/oprofile: fix oprofile for clang build
On 23.04.2021 11:43, Roger Pau Monne wrote:
> Clang complains with:
>
> backtrace.c:46:19: error: unused function 'is_32bit_vcpu'
> [-Werror,-Wunused-function]
> static inline int is_32bit_vcpu(struct vcpu *vcpu)
> ^
>
> Fix this by guarding the function with CONFIG_COMPAT, as it's only
> caller is also doing so.
>
> Fixes: d23d792478d ('x86: avoid building COMPAT code when !HVM && !PV32')
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
See my "x86/oprof: fix !HVM && !PV32 build" from the 16th.
Jan
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |