aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/ndctl.h22
-rw-r--r--include/uapi/linux/ndctl.h4
2 files changed, 22 insertions, 4 deletions
diff --git a/include/linux/ndctl.h b/include/linux/ndctl.h
new file mode 100644
index 000000000000..cd5a293ce3ae
--- /dev/null
+++ b/include/linux/ndctl.h
@@ -0,0 +1,22 @@
1/*
2 * Copyright (c) 2014-2016, Intel Corporation.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU Lesser General Public License,
6 * version 2.1, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT ANY
9 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
11 * more details.
12 */
13#ifndef _LINUX_NDCTL_H
14#define _LINUX_NDCTL_H
15
16#include <uapi/linux/ndctl.h>
17
18enum {
19 ND_MIN_NAMESPACE_SIZE = PAGE_SIZE,
20};
21
22#endif /* _LINUX_NDCTL_H */
diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index 2f2c43d633c5..f57c9e434d2d 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -202,10 +202,6 @@ enum nd_driver_flags {
202 ND_DRIVER_DAX_PMEM = 1 << ND_DEVICE_DAX_PMEM, 202 ND_DRIVER_DAX_PMEM = 1 << ND_DEVICE_DAX_PMEM,
203}; 203};
204 204
205enum {
206 ND_MIN_NAMESPACE_SIZE = PAGE_SIZE,
207};
208
209enum ars_masks { 205enum ars_masks {
210 ARS_STATUS_MASK = 0x0000FFFF, 206 ARS_STATUS_MASK = 0x0000FFFF,
211 ARS_EXT_STATUS_SHIFT = 16, 207 ARS_EXT_STATUS_SHIFT = 16,