• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Generated by ./xlat/gen.sh from ./xlat/module_init_flags.in; do not edit. */
2 #if !(defined(MODULE_INIT_IGNORE_MODVERSIONS) || (defined(HAVE_DECL_MODULE_INIT_IGNORE_MODVERSIONS) && HAVE_DECL_MODULE_INIT_IGNORE_MODVERSIONS))
3 # define MODULE_INIT_IGNORE_MODVERSIONS (1 << 0)
4 #endif
5 #if !(defined(MODULE_INIT_IGNORE_VERMAGIC) || (defined(HAVE_DECL_MODULE_INIT_IGNORE_VERMAGIC) && HAVE_DECL_MODULE_INIT_IGNORE_VERMAGIC))
6 # define MODULE_INIT_IGNORE_VERMAGIC (1 << 1)
7 #endif
8 
9 #ifdef IN_MPERS
10 
11 # error static const struct xlat module_init_flags in mpers mode
12 
13 #else
14 
15 static
16 const struct xlat module_init_flags[] = {
17  XLAT(MODULE_INIT_IGNORE_MODVERSIONS),
18  XLAT(MODULE_INIT_IGNORE_VERMAGIC),
19  XLAT_END
20 };
21 
22 #endif /* !IN_MPERS */
23