diff options
| author | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
| commit | dbb41ce2b7f309d394054a6bd1e33afd578798a5 (patch) | |
| tree | 6a31092063d9f2fb5ac5720ec6759040e793c3d5 /kernel/tests/include/lapi/membarrier.h | |
| parent | Set Linux kernel version to unknown if it is not detectable (diff) | |
| download | xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.gz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.xz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.zip | |
Move the source code of all xloop components to the common 'src' directory
Diffstat (limited to 'kernel/tests/include/lapi/membarrier.h')
| -rw-r--r-- | kernel/tests/include/lapi/membarrier.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/kernel/tests/include/lapi/membarrier.h b/kernel/tests/include/lapi/membarrier.h deleted file mode 100644 index 2b6c57f..0000000 --- a/kernel/tests/include/lapi/membarrier.h +++ /dev/null @@ -1,30 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2018 Linaro Limited. All rights reserved. - * Author: Rafael David Tinoco <rafael.tinoco@linaro.org> - */ - -#ifndef LAPI_MEMBARRIER_H -#define LAPI_MEMBARRIER_H - -/* - * Having <linux/membarrier.h> is enough to know if the test should run or - * not, but it might not define all needed MEMBARRIER_CMD_* being tested, - * since its first versions included just a few commands. - */ - -enum membarrier_cmd { - MEMBARRIER_CMD_QUERY = 0, - MEMBARRIER_CMD_GLOBAL = (1 << 0), - MEMBARRIER_CMD_GLOBAL_EXPEDITED = (1 << 1), - MEMBARRIER_CMD_REGISTER_GLOBAL_EXPEDITED = (1 << 2), - MEMBARRIER_CMD_PRIVATE_EXPEDITED = (1 << 3), - MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED = (1 << 4), - MEMBARRIER_CMD_PRIVATE_EXPEDITED_SYNC_CORE = (1 << 5), - MEMBARRIER_CMD_REGISTER_PRIVATE_EXPEDITED_SYNC_CORE = (1 << 6), - - /* Alias for header backward compatibility. */ - MEMBARRIER_CMD_SHARED = MEMBARRIER_CMD_GLOBAL, -}; - -#endif |
