diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2014-12-02 16:52:06 +1100 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2014-12-02 13:52:53 -0700 |
commit | 3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02 (patch) | |
tree | f3c54c3536fba90c7d3f6dacd90d057525229f82 /include | |
parent | 884716497d4c777f4b8798fab361b4bad351f5bc (diff) | |
download | op-kernel-dev-3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02.zip op-kernel-dev-3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02.tar.gz |
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')
-rw-r--r-- | include/uapi/linux/Kbuild | 1 | ||||
-rw-r--r-- | include/uapi/linux/kcmp.h (renamed from include/linux/kcmp.h) | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index b70237e..1cf50d6 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild @@ -209,6 +209,7 @@ header-y += ivtvfb.h header-y += ixjuser.h header-y += jffs2.h header-y += joystick.h +header-y += kcmp.h header-y += kd.h header-y += kdev_t.h header-y += kernel-page-flags.h diff --git a/include/linux/kcmp.h b/include/uapi/linux/kcmp.h index 2dcd1b3..84df14b 100644 --- a/include/linux/kcmp.h +++ b/include/uapi/linux/kcmp.h @@ -1,5 +1,5 @@ -#ifndef _LINUX_KCMP_H -#define _LINUX_KCMP_H +#ifndef _UAPI_LINUX_KCMP_H +#define _UAPI_LINUX_KCMP_H /* Comparison type */ enum kcmp_type { @@ -14,4 +14,4 @@ enum kcmp_type { KCMP_TYPES, }; -#endif /* _LINUX_KCMP_H */ +#endif /* _UAPI_LINUX_KCMP_H */ |