mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
fix asm-x86/{posix_types,unistd}.h
Jeff Chua reported that: Commit e40c0fe6b0b5dd16aec3c0dad311d36b19d78fd9 (x86: cleanup duplicate includes) turned the userspace asm-x86/posix_types.h and asm-x86/unistd.h headers into empty files. This patch reverts these bogus changes. Reported-by: Jeff Chua <jeff.chua.linux@gmail.com> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
5065dbafc2
commit
b11caa7c70
@ -1,5 +1,11 @@
|
||||
#ifdef __KERNEL__
|
||||
# if defined(CONFIG_X86_32) || defined(__i386__)
|
||||
# ifdef CONFIG_X86_32
|
||||
# include "posix_types_32.h"
|
||||
# else
|
||||
# include "posix_types_64.h"
|
||||
# endif
|
||||
#else
|
||||
# ifdef __i386__
|
||||
# include "posix_types_32.h"
|
||||
# else
|
||||
# include "posix_types_64.h"
|
||||
|
@ -1,5 +1,11 @@
|
||||
#ifdef __KERNEL__
|
||||
# if defined(CONFIG_X86_32) || defined(__i386__)
|
||||
# ifdef CONFIG_X86_32
|
||||
# include "unistd_32.h"
|
||||
# else
|
||||
# include "unistd_64.h"
|
||||
# endif
|
||||
#else
|
||||
# ifdef __i386__
|
||||
# include "unistd_32.h"
|
||||
# else
|
||||
# include "unistd_64.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user