diff options
| author | Michael Ellerman <mpe@ellerman.id.au> | 2014-12-02 00:52:06 -0500 |
|---|---|---|
| committer | Shuah Khan <shuahkh@osg.samsung.com> | 2014-12-02 15:52:53 -0500 |
| commit | 3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 (patch) | |
| tree | f3c54c3536fba90c7d3f6dacd90d057525229f82 /include/uapi/linux | |
| parent | 884716497d4c777f4b8798fab361b4bad351f5bc (diff) | |
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')
| -rw-r--r-- | include/uapi/linux/Kbuild | 1 | ||||
| -rw-r--r-- | include/uapi/linux/kcmp.h | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index b70237e8bc37..1cf50d682dbf 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -209,6 +209,7 @@ header-y += ivtvfb.h | |||
| 209 | header-y += ixjuser.h | 209 | header-y += ixjuser.h |
| 210 | header-y += jffs2.h | 210 | header-y += jffs2.h |
| 211 | header-y += joystick.h | 211 | header-y += joystick.h |
| 212 | header-y += kcmp.h | ||
| 212 | header-y += kd.h | 213 | header-y += kd.h |
| 213 | header-y += kdev_t.h | 214 | header-y += kdev_t.h |
| 214 | header-y += kernel-page-flags.h | 215 | header-y += kernel-page-flags.h |
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 @@ | |||
| 1 | #ifndef _UAPI_LINUX_KCMP_H | ||
| 2 | #define _UAPI_LINUX_KCMP_H | ||
| 3 | |||
| 4 | /* Comparison type */ | ||
| 5 | enum kcmp_type { | ||
| 6 | KCMP_FILE, | ||
| 7 | KCMP_VM, | ||
| 8 | KCMP_FILES, | ||
| 9 | KCMP_FS, | ||
| 10 | KCMP_SIGHAND, | ||
| 11 | KCMP_IO, | ||
| 12 | KCMP_SYSVSEM, | ||
| 13 | |||
| 14 | KCMP_TYPES, | ||
| 15 | }; | ||
| 16 | |||
| 17 | #endif /* _UAPI_LINUX_KCMP_H */ | ||
