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>
This commit is contained in:
Michael Ellerman 2014-12-02 16:52:06 +11:00 committed by Shuah Khan
parent 884716497d
commit 3f4994cfc1
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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 */