1 /* Generated by ./xlat/gen.sh from ./xlat/policies.in; do not edit. */ 2 #if !(defined(MPOL_DEFAULT) || (defined(HAVE_DECL_MPOL_DEFAULT) && HAVE_DECL_MPOL_DEFAULT)) 3 # define MPOL_DEFAULT 0 4 #endif 5 #if !(defined(MPOL_PREFERRED) || (defined(HAVE_DECL_MPOL_PREFERRED) && HAVE_DECL_MPOL_PREFERRED)) 6 # define MPOL_PREFERRED 1 7 #endif 8 #if !(defined(MPOL_BIND) || (defined(HAVE_DECL_MPOL_BIND) && HAVE_DECL_MPOL_BIND)) 9 # define MPOL_BIND 2 10 #endif 11 #if !(defined(MPOL_INTERLEAVE) || (defined(HAVE_DECL_MPOL_INTERLEAVE) && HAVE_DECL_MPOL_INTERLEAVE)) 12 # define MPOL_INTERLEAVE 3 13 #endif 14 15 #ifdef IN_MPERS 16 17 # error static const struct xlat policies in mpers mode 18 19 #else 20 21 static 22 const struct xlat policies[] = { 23 XLAT(MPOL_DEFAULT), 24 XLAT(MPOL_PREFERRED), 25 XLAT(MPOL_BIND), 26 XLAT(MPOL_INTERLEAVE), 27 XLAT_END 28 }; 29 30 #endif /* !IN_MPERS */ 31