mm/shadow: fix declaration of fetch_type_names
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 17 Oct 2017 10:23:53 +0000 (11:23 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Oct 2017 13:47:05 +0000 (14:47 +0100)
commitc4efa25058d3f45bf725d6ebe6429db9adf94b62
tree90390e0ee8d86fcf06e72e789e605e5b919ba398
parent0075bc1f02c389c5bb84cbffdc27dc9b53699bca
mm/shadow: fix declaration of fetch_type_names

fetch_type_names usage is guarded by SHADOW_DEBUG_PROPAGATE in
SHADOW_DEBUG, fix the declaration so it's also guarded by
SHADOW_DEBUG_PROPAGATE instead of DEBUG_TRACE_DUMP.

Observed while building with clang and ubsan enabled.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Release-acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/x86/mm/shadow/multi.c