• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/numa_node.in; do not edit. */
2 
3 #include "gcc_compat.h"
4 #include "static_assert.h"
5 
6 #if defined(NUMA_NO_NODE) || (defined(HAVE_DECL_NUMA_NO_NODE) && HAVE_DECL_NUMA_NO_NODE)
7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE
8 static_assert((NUMA_NO_NODE) == (-1U), "NUMA_NO_NODE != -1U");
9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE
10 #else
11 # define NUMA_NO_NODE -1U
12 #endif
13 
14 #ifndef XLAT_MACROS_ONLY
15 
16 # ifdef IN_MPERS
17 
18 #  error static const struct xlat numa_node in mpers mode
19 
20 # else
21 
22 static
23 const struct xlat numa_node[] = {
24  XLAT(NUMA_NO_NODE),
25  XLAT_END
26 };
27 
28 # endif /* !IN_MPERS */
29 
30 #endif /* !XLAT_MACROS_ONLY */
31