Thread (23 messages) 23 messages, 11 authors, 2017-01-13

[PATCH v2 1/7] arm: put types.h in uapi

From: linux@armlinux.org.uk (Russell King - ARM Linux)
Date: 2017-01-09 12:01:16
Also in: alsa-devel, dri-devel, linux-alpha, linux-arch, linux-fbdev, linux-kbuild, linux-media, linux-mips, linux-mmc, linux-nfs, linux-raid, linux-rdma, linux-s390, linux-sh, linux-spi, linuxppc-dev, lkml, netdev, netfilter-devel, sparclinux

On Mon, Jan 09, 2017 at 12:33:02PM +0100, Arnd Bergmann wrote:
On Friday, January 6, 2017 10:43:53 AM CET Nicolas Dichtel wrote:
quoted
diff --git a/arch/arm/include/asm/types.h b/arch/arm/include/asm/types.h
index a53cdb8f068c..c48fee3d7b3b 100644
--- a/arch/arm/include/asm/types.h
+++ b/arch/arm/include/asm/types.h
@@ -1,40 +1,6 @@
 #ifndef _ASM_TYPES_H
 #define _ASM_TYPES_H
 
-#include <asm-generic/int-ll64.h>
...
quoted
-#define __UINTPTR_TYPE__       unsigned long
-#endif
+#include <uapi/asm/types.h>
 
 #endif /* _ASM_TYPES_H */
Moving the file is correct as far as I can tell, but the extra
#include is not necessary here, as the kernel will automatically
search both arch/arm/include/ and arch/arm/include/uapi/.
Indeed, I'd like to see the include/asm file gone.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help