Forráskód Böngészése

ARM: put types.h in uapi

Due to the way kbuild works, this header was unintentionally exported
back in 2013 when it was created, despite it not being in a uapi/
directory.  This is very non-intuitive behaviour by Kbuild.

However, we've had this include exported to userland for almost four
years, and searching google for "ARM types.h __UINTPTR_TYPE__" gives
no hint that anyone has complained about it.  So, let's make it
officially exported in this state.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Nicolas Dichtel 8 éve
szülő
commit
ed79c9d34f
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      arch/arm/include/uapi/asm/types.h

+ 3 - 3
arch/arm/include/asm/types.h → arch/arm/include/uapi/asm/types.h

@@ -1,5 +1,5 @@
-#ifndef _ASM_TYPES_H
-#define _ASM_TYPES_H
+#ifndef _UAPI_ASM_TYPES_H
+#define _UAPI_ASM_TYPES_H
 
 
 #include <asm-generic/int-ll64.h>
 #include <asm-generic/int-ll64.h>
 
 
@@ -37,4 +37,4 @@
 #define __UINTPTR_TYPE__	unsigned long
 #define __UINTPTR_TYPE__	unsigned long
 #endif
 #endif
 
 
-#endif /* _ASM_TYPES_H */
+#endif /* _UAPI_ASM_TYPES_H */