/* Generated by ./xlat/gen.sh from ./xlat/pr_tsc.in; do not edit. */

#include "gcc_compat.h"
#include "static_assert.h"

#if defined(PR_TSC_ENABLE) || (defined(HAVE_DECL_PR_TSC_ENABLE) && HAVE_DECL_PR_TSC_ENABLE)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((PR_TSC_ENABLE) == (1), "PR_TSC_ENABLE != 1");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define PR_TSC_ENABLE 1
#endif
#if defined(PR_TSC_SIGSEGV) || (defined(HAVE_DECL_PR_TSC_SIGSEGV) && HAVE_DECL_PR_TSC_SIGSEGV)
DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
static_assert((PR_TSC_SIGSEGV) == (2), "PR_TSC_SIGSEGV != 2");
DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
#else
# define PR_TSC_SIGSEGV 2
#endif

#ifndef XLAT_MACROS_ONLY

# ifdef IN_MPERS

#  error static const struct xlat pr_tsc in mpers mode

# else

static const struct xlat_data pr_tsc_xdata[] = {
 [PR_TSC_ENABLE] = XLAT(PR_TSC_ENABLE),
 #define XLAT_VAL_0 ((unsigned) (PR_TSC_ENABLE))
 #define XLAT_STR_0 STRINGIFY(PR_TSC_ENABLE)
 [PR_TSC_SIGSEGV] = XLAT(PR_TSC_SIGSEGV),
 #define XLAT_VAL_1 ((unsigned) (PR_TSC_SIGSEGV))
 #define XLAT_STR_1 STRINGIFY(PR_TSC_SIGSEGV)
};
static
const struct xlat pr_tsc[1] = { {
 .data = pr_tsc_xdata,
 .size = ARRAY_SIZE(pr_tsc_xdata),
 .type = XT_INDEXED,
 .flags_mask = 0
#  ifdef XLAT_VAL_0
  | XLAT_VAL_0
#  endif
#  ifdef XLAT_VAL_1
  | XLAT_VAL_1
#  endif
  ,
 .flags_strsz = 0
#  ifdef XLAT_STR_0
  + sizeof(XLAT_STR_0)
#  endif
#  ifdef XLAT_STR_1
  + sizeof(XLAT_STR_1)
#  endif
  ,
} };

#  undef XLAT_STR_0
#  undef XLAT_VAL_0
#  undef XLAT_STR_1
#  undef XLAT_VAL_1
# endif /* !IN_MPERS */

#endif /* !XLAT_MACROS_ONLY */
