1 /* Generated by ./xlat/gen.sh from ./xlat/bootflags2.in; do not edit. */ 2 3 #include "gcc_compat.h" 4 #include "static_assert.h" 5 6 #if defined(LINUX_REBOOT_MAGIC2) || (defined(HAVE_DECL_LINUX_REBOOT_MAGIC2) && HAVE_DECL_LINUX_REBOOT_MAGIC2) 7 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 8 static_assert((LINUX_REBOOT_MAGIC2) == (672274793), "LINUX_REBOOT_MAGIC2 != 672274793"); 9 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 10 #else 11 # define LINUX_REBOOT_MAGIC2 672274793 12 #endif 13 #if defined(LINUX_REBOOT_MAGIC2A) || (defined(HAVE_DECL_LINUX_REBOOT_MAGIC2A) && HAVE_DECL_LINUX_REBOOT_MAGIC2A) 14 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 15 static_assert((LINUX_REBOOT_MAGIC2A) == (85072278), "LINUX_REBOOT_MAGIC2A != 85072278"); 16 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 17 #else 18 # define LINUX_REBOOT_MAGIC2A 85072278 19 #endif 20 #if defined(LINUX_REBOOT_MAGIC2B) || (defined(HAVE_DECL_LINUX_REBOOT_MAGIC2B) && HAVE_DECL_LINUX_REBOOT_MAGIC2B) 21 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 22 static_assert((LINUX_REBOOT_MAGIC2B) == (369367448), "LINUX_REBOOT_MAGIC2B != 369367448"); 23 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 24 #else 25 # define LINUX_REBOOT_MAGIC2B 369367448 26 #endif 27 #if defined(LINUX_REBOOT_MAGIC2C) || (defined(HAVE_DECL_LINUX_REBOOT_MAGIC2C) && HAVE_DECL_LINUX_REBOOT_MAGIC2C) 28 DIAG_PUSH_IGNORE_TAUTOLOGICAL_COMPARE 29 static_assert((LINUX_REBOOT_MAGIC2C) == (537993216), "LINUX_REBOOT_MAGIC2C != 537993216"); 30 DIAG_POP_IGNORE_TAUTOLOGICAL_COMPARE 31 #else 32 # define LINUX_REBOOT_MAGIC2C 537993216 33 #endif 34 35 #ifndef XLAT_MACROS_ONLY 36 37 # ifdef IN_MPERS 38 39 # error static const struct xlat bootflags2 in mpers mode 40 41 # else 42 43 static 44 const struct xlat bootflags2[] = { 45 XLAT(LINUX_REBOOT_MAGIC2), 46 XLAT(LINUX_REBOOT_MAGIC2A), 47 XLAT(LINUX_REBOOT_MAGIC2B), 48 XLAT(LINUX_REBOOT_MAGIC2C), 49 XLAT_END 50 }; 51 52 # endif /* !IN_MPERS */ 53 54 #endif /* !XLAT_MACROS_ONLY */ 55