From 482bab05a00e41f3928fa14e66c4c6fa3d701dd6 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 28 Apr 2016 18:15:20 +0000 Subject: [PATCH] Introduce printxval64 wrapper This is necessary for the upcoming change of xlat.val type. * defs.h (printxval64): New static inline function. --- defs.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/defs.h b/defs.h index 583f7156..2cd23979 100644 --- a/defs.h +++ b/defs.h @@ -666,6 +666,12 @@ extern void unwind_print_stacktrace(struct tcb* tcp); extern void unwind_capture_stacktrace(struct tcb* tcp); #endif +static inline void +printxval64(const struct xlat *x, const uint64_t val, const char *dflt) +{ + printxvals(val, dflt, x, NULL); +} + static inline void printxval(const struct xlat *x, const unsigned int val, const char *dflt) { -- 2.40.0