Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

unconditionally include asm/types.h from linux/types.h

Reported-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Jaswinder Singh Rajput and committed by
Ingo Molnar
9d50638b f6c72781

+2 -1
+2 -1
include/linux/types.h
··· 1 1 #ifndef _LINUX_TYPES_H 2 2 #define _LINUX_TYPES_H 3 3 4 + #include <asm/types.h> 5 + 4 6 #ifndef __ASSEMBLY__ 5 7 #ifdef __KERNEL__ 6 8 ··· 12 10 #endif 13 11 14 12 #include <linux/posix_types.h> 15 - #include <asm/types.h> 16 13 17 14 #ifndef __KERNEL_STRICT_NAMES 18 15