summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/kcmp.h
diff options
context:
space:
mode:
authorMichael Ellerman2014-12-02 06:52:06 +0100
committerShuah Khan2014-12-02 21:52:53 +0100
commit3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 (patch)
treef3c54c3536fba90c7d3f6dacd90d057525229f82 /include/uapi/linux/kcmp.h
parentselftests/timers: change test to use ksft framework (diff)
downloadkernel-qcow2-linux-3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02.tar.gz
kernel-qcow2-linux-3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02.tar.xz
kernel-qcow2-linux-3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02.zip
kcmp: Move kcmp.h into uapi
kcmp.h appears to be part of the API, it's documented in kcmp(2), and the selftests/kcmp code uses it. So move it to uapi so it's actually exported. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/kcmp.h')
-rw-r--r--include/uapi/linux/kcmp.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/uapi/linux/kcmp.h b/include/uapi/linux/kcmp.h
new file mode 100644
index 000000000000..84df14b37360
--- /dev/null
+++ b/include/uapi/linux/kcmp.h
@@ -0,0 +1,17 @@
+#ifndef _UAPI_LINUX_KCMP_H
+#define _UAPI_LINUX_KCMP_H
+
+/* Comparison type */
+enum kcmp_type {
+ KCMP_FILE,
+ KCMP_VM,
+ KCMP_FILES,
+ KCMP_FS,
+ KCMP_SIGHAND,
+ KCMP_IO,
+ KCMP_SYSVSEM,
+
+ KCMP_TYPES,
+};
+
+#endif /* _UAPI_LINUX_KCMP_H */