mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
b11caa7c70
Jeff Chua reported that:
Commit e40c0fe6b0
(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>
14 lines
200 B
C
14 lines
200 B
C
#ifdef __KERNEL__
|
|
# 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"
|
|
# endif
|
|
#endif
|