Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 1 | /* Generated by ./xlat/gen.sh from ./xlat/futexwakeops.in; do not edit. */ |
Elliott Hughes | a0ccdac | 2015-06-30 14:05:31 -0700 | [diff] [blame] | 2 | #if !(defined(FUTEX_OP_SET) || (defined(HAVE_DECL_FUTEX_OP_SET) && HAVE_DECL_FUTEX_OP_SET)) |
| 3 | # define FUTEX_OP_SET 0 |
| 4 | #endif |
Elliott Hughes | a0ccdac | 2015-06-30 14:05:31 -0700 | [diff] [blame] | 5 | #if !(defined(FUTEX_OP_ADD) || (defined(HAVE_DECL_FUTEX_OP_ADD) && HAVE_DECL_FUTEX_OP_ADD)) |
| 6 | # define FUTEX_OP_ADD 1 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 7 | #endif |
Elliott Hughes | a0ccdac | 2015-06-30 14:05:31 -0700 | [diff] [blame] | 8 | #if !(defined(FUTEX_OP_OR) || (defined(HAVE_DECL_FUTEX_OP_OR) && HAVE_DECL_FUTEX_OP_OR)) |
| 9 | # define FUTEX_OP_OR 2 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 10 | #endif |
Elliott Hughes | a0ccdac | 2015-06-30 14:05:31 -0700 | [diff] [blame] | 11 | #if !(defined(FUTEX_OP_ANDN) || (defined(HAVE_DECL_FUTEX_OP_ANDN) && HAVE_DECL_FUTEX_OP_ANDN)) |
| 12 | # define FUTEX_OP_ANDN 3 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 13 | #endif |
Elliott Hughes | a0ccdac | 2015-06-30 14:05:31 -0700 | [diff] [blame] | 14 | #if !(defined(FUTEX_OP_XOR) || (defined(HAVE_DECL_FUTEX_OP_XOR) && HAVE_DECL_FUTEX_OP_XOR)) |
| 15 | # define FUTEX_OP_XOR 4 |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 16 | #endif |
Elliott Hughes | 8948469 | 2015-12-11 13:20:01 -0800 | [diff] [blame] | 17 | |
| 18 | #ifdef IN_MPERS |
| 19 | |
| 20 | # error static const struct xlat futexwakeops in mpers mode |
| 21 | |
| 22 | #else |
| 23 | |
| 24 | static |
| 25 | const struct xlat futexwakeops[] = { |
| 26 | XLAT(FUTEX_OP_SET), |
| 27 | XLAT(FUTEX_OP_ADD), |
| 28 | XLAT(FUTEX_OP_OR), |
| 29 | XLAT(FUTEX_OP_ANDN), |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 30 | XLAT(FUTEX_OP_XOR), |
Elliott Hughes | 0328d0a | 2015-03-18 11:18:43 -0700 | [diff] [blame] | 31 | XLAT_END |
Elliott Hughes | 8272837 | 2014-06-06 22:49:31 -0700 | [diff] [blame] | 32 | }; |
Elliott Hughes | 8948469 | 2015-12-11 13:20:01 -0800 | [diff] [blame] | 33 | |
| 34 | #endif /* !IN_MPERS */ |