提交 b8121f0f 编写于 作者: R Ralf Baechle

MIPS: <uapi/asm/fcntl.h>: Don't reference CONFIG_* symbols.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 b3787586
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
#ifndef _ASM_FCNTL_H #ifndef _ASM_FCNTL_H
#define _ASM_FCNTL_H #define _ASM_FCNTL_H
#include <asm/sgidefs.h>
#define O_APPEND 0x0008 #define O_APPEND 0x0008
#define O_DSYNC 0x0010 /* used to be O_SYNC, see below */ #define O_DSYNC 0x0010 /* used to be O_SYNC, see below */
...@@ -55,7 +56,8 @@ ...@@ -55,7 +56,8 @@
* contain all the same fields as struct flock. * contain all the same fields as struct flock.
*/ */
#ifdef CONFIG_32BIT #if _MIPS_SIM != _MIPS_SIM_ABI64
#include <linux/types.h> #include <linux/types.h>
struct flock { struct flock {
...@@ -70,7 +72,7 @@ struct flock { ...@@ -70,7 +72,7 @@ struct flock {
#define HAVE_ARCH_STRUCT_FLOCK #define HAVE_ARCH_STRUCT_FLOCK
#endif /* CONFIG_32BIT */ #endif /* _MIPS_SIM == _MIPS_SIM_ABI32 */
#include <asm-generic/fcntl.h> #include <asm-generic/fcntl.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册