blob: 9baec44e76c979cd8891ffbdb3f5580ab294a6dd [file] [log] [blame]
/* Generated by ./xlat/gen.sh from ./xlat/swap_flags.in; do not edit. */
#if !(defined(SWAP_FLAG_PREFER) || (defined(HAVE_DECL_SWAP_FLAG_PREFER) && HAVE_DECL_SWAP_FLAG_PREFER))
# define SWAP_FLAG_PREFER 0x8000
#endif
#if !(defined(SWAP_FLAG_DISCARD) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD) && HAVE_DECL_SWAP_FLAG_DISCARD))
# define SWAP_FLAG_DISCARD 0x10000
#endif
#if !(defined(SWAP_FLAG_DISCARD_ONCE) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD_ONCE) && HAVE_DECL_SWAP_FLAG_DISCARD_ONCE))
# define SWAP_FLAG_DISCARD_ONCE 0x20000
#endif
#if !(defined(SWAP_FLAG_DISCARD_PAGES) || (defined(HAVE_DECL_SWAP_FLAG_DISCARD_PAGES) && HAVE_DECL_SWAP_FLAG_DISCARD_PAGES))
# define SWAP_FLAG_DISCARD_PAGES 0x40000
#endif
#ifdef IN_MPERS
# error static const struct xlat swap_flags in mpers mode
#else
static
const struct xlat swap_flags[] = {
XLAT(SWAP_FLAG_PREFER),
XLAT(SWAP_FLAG_DISCARD),
XLAT(SWAP_FLAG_DISCARD_ONCE),
XLAT(SWAP_FLAG_DISCARD_PAGES),
XLAT_END
};
#endif /* !IN_MPERS */