1/* Generated by ./xlat/gen.sh from ./xlat/swap_flags.in; do not edit. */ 2#if !(defined(SWAP_FLAG_PREFER) || (defined(HAVE_DECL_SWAP_FLAG_PREFER) && HAVE_DECL_SWAP_FLAG_PREFER)) 3# define SWAP_FLAG_PREFER 0x8000 4#endif 5#if !(defined(SWAP_FLAG_DISCARD) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD) && HAVE_DECL_SWAP_FLAG_DISCARD)) 6# define SWAP_FLAG_DISCARD 0x10000 7#endif 8#if !(defined(SWAP_FLAG_DISCARD_ONCE) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD_ONCE) && HAVE_DECL_SWAP_FLAG_DISCARD_ONCE)) 9# define SWAP_FLAG_DISCARD_ONCE 0x20000 10#endif 11#if !(defined(SWAP_FLAG_DISCARD_PAGES) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD_PAGES) && HAVE_DECL_SWAP_FLAG_DISCARD_PAGES)) 12# define SWAP_FLAG_DISCARD_PAGES 0x40000 13#endif 14 15#ifdef IN_MPERS 16 17# error static const struct xlat swap_flags in mpers mode 18 19#else 20 21static 22const struct xlat swap_flags[] = { 23 XLAT(SWAP_FLAG_PREFER), 24 XLAT(SWAP_FLAG_DISCARD), 25 XLAT(SWAP_FLAG_DISCARD_ONCE), 26 XLAT(SWAP_FLAG_DISCARD_PAGES), 27 XLAT_END 28}; 29 30#endif /* !IN_MPERS */ 31