1 /* Generated by ./xlat/gen.sh from ./xlat/kexec_load_flags.in; do not edit. */ 2 #if !(defined(KEXEC_ON_CRASH) || (defined(HAVE_DECL_KEXEC_ON_CRASH) && HAVE_DECL_KEXEC_ON_CRASH)) 3 # define KEXEC_ON_CRASH 0x00000001 4 #endif 5 #if !(defined(KEXEC_PRESERVE_CONTEXT) || (defined(HAVE_DECL_KEXEC_PRESERVE_CONTEXT) && HAVE_DECL_KEXEC_PRESERVE_CONTEXT)) 6 # define KEXEC_PRESERVE_CONTEXT 0x00000002 7 #endif 8 9 #ifdef IN_MPERS 10 11 # error static const struct xlat kexec_load_flags in mpers mode 12 13 #else 14 15 static 16 const struct xlat kexec_load_flags[] = { 17 XLAT(KEXEC_ON_CRASH), 18 XLAT(KEXEC_PRESERVE_CONTEXT), 19 XLAT_END 20 }; 21 22 #endif /* !IN_MPERS */ 23