projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b378758
)
MIPS: <uapi/asm/fcntl.h>: Don't reference CONFIG_* symbols.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 12 Jun 2013 17:05:05 +0000
(19:05 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jun 2013 14:43:19 +0000
(16:43 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/uapi/asm/fcntl.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/include/uapi/asm/fcntl.h
b/arch/mips/include/uapi/asm/fcntl.h
index 0bda78f70e1e5930438c78e00897b7e86d244d75..6e9e74648f98804c91ec4a103833d732006b3f60 100644
(file)
--- a/
arch/mips/include/uapi/asm/fcntl.h
+++ b/
arch/mips/include/uapi/asm/fcntl.h
@@
-8,6
+8,7
@@
#ifndef _ASM_FCNTL_H
#define _ASM_FCNTL_H
+#include <asm/sgidefs.h>
#define O_APPEND 0x0008
#define O_DSYNC 0x0010 /* used to be O_SYNC, see below */
@@
-55,7
+56,8
@@
* contain all the same fields as struct flock.
*/
-#ifdef CONFIG_32BIT
+#if _MIPS_SIM != _MIPS_SIM_ABI64
+
#include <linux/types.h>
struct flock {
@@
-70,7
+72,7
@@
struct flock {
#define HAVE_ARCH_STRUCT_FLOCK
-#endif /*
CONFIG_32BIT
*/
+#endif /*
_MIPS_SIM == _MIPS_SIM_ABI32
*/
#include <asm-generic/fcntl.h>