From: Michael Ellerman Date: Tue, 2 Dec 2014 05:52:06 +0000 (+1100) Subject: kcmp: Move kcmp.h into uapi X-Git-Tag: v3.19-rc1~63^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f4994cfc15f38a3159c6e3a4b3ab2e1481a6b02;p=thirdparty%2Fkernel%2Flinux.git 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 Acked-by: Cyrill Gorcunov Signed-off-by: Shuah Khan --- diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index b70237e8bc37b..1cf50d682dbff 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 similarity index 62% rename from include/linux/kcmp.h rename to include/uapi/linux/kcmp.h index 2dcd1b3aafc80..84df14b373601 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 */