Skip to content

Commit

Permalink
ARM: put types.h in uapi
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Russell King <[email protected]>
  • Loading branch information
NicolasDichtel authored and Russell King committed Jan 13, 2017
1 parent ddc3783 commit ed79c9d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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>

Expand Down Expand Up @@ -37,4 +37,4 @@
#define __UINTPTR_TYPE__ unsigned long
#endif

#endif /* _ASM_TYPES_H */
#endif /* _UAPI_ASM_TYPES_H */

0 comments on commit ed79c9d

Please sign in to comment.