1 /* Generated by ./xlat/gen.sh from ./xlat/schedulers.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 7 #ifndef XLAT_MACROS_ONLY 8 9 # ifdef IN_MPERS 10 11 # error static const struct xlat schedulers in mpers mode 12 13 # else 14 15 static 16 const struct xlat schedulers[] = { 17 #if defined(SCHED_OTHER) || (defined(HAVE_DECL_SCHED_OTHER) && HAVE_DECL_SCHED_OTHER) 18 XLAT(SCHED_OTHER), 19 #endif 20 #if defined(SCHED_FIFO) || (defined(HAVE_DECL_SCHED_FIFO) && HAVE_DECL_SCHED_FIFO) 21 XLAT(SCHED_FIFO), 22 #endif 23 #if defined(SCHED_RR) || (defined(HAVE_DECL_SCHED_RR) && HAVE_DECL_SCHED_RR) 24 XLAT(SCHED_RR), 25 #endif 26 #if defined(SCHED_BATCH) || (defined(HAVE_DECL_SCHED_BATCH) && HAVE_DECL_SCHED_BATCH) 27 XLAT(SCHED_BATCH), 28 #endif 29 #if defined(SCHED_ISO) || (defined(HAVE_DECL_SCHED_ISO) && HAVE_DECL_SCHED_ISO) 30 XLAT(SCHED_ISO), 31 #endif 32 #if defined(SCHED_IDLE) || (defined(HAVE_DECL_SCHED_IDLE) && HAVE_DECL_SCHED_IDLE) 33 XLAT(SCHED_IDLE), 34 #endif 35 #if defined(SCHED_DEADLINE) || (defined(HAVE_DECL_SCHED_DEADLINE) && HAVE_DECL_SCHED_DEADLINE) 36 XLAT(SCHED_DEADLINE), 37 #endif 38 XLAT_END 39 }; 40 41 # endif /* !IN_MPERS */ 42 43 #endif /* !XLAT_MACROS_ONLY */ 44