summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-02 05:15:45 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-02 05:15:45 +0200
commita3470171d69d5526a01c31f1ce4a1e8090b6e5d9 (patch)
treea4a69bb1bcf84ca90749e835c50e38f3de1e7fd2 /include
parentx86_64: increase VDSO_TEXT_OFFSET for ancient binutils (diff)
parent[MIPS] vmlinux.lds.S: Handle note sections (diff)
downloadlinux-a3470171d69d5526a01c31f1ce4a1e8090b6e5d9.tar.xz
linux-a3470171d69d5526a01c31f1ce4a1e8090b6e5d9.zip
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: [MIPS] vmlinux.lds.S: Handle note sections [MIPS] Fix value of O_TRUNC
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-mips/fcntl.h b/include/asm-mips/fcntl.h
index 00a50ec1c19f..2a52333a062d 100644
--- a/include/asm-mips/fcntl.h
+++ b/include/asm-mips/fcntl.h
@@ -13,6 +13,7 @@
#define O_SYNC 0x0010
#define O_NONBLOCK 0x0080
#define O_CREAT 0x0100 /* not fcntl */
+#define O_TRUNC 0x0200 /* not fcntl */
#define O_EXCL 0x0400 /* not fcntl */
#define O_NOCTTY 0x0800 /* not fcntl */
#define FASYNC 0x1000 /* fcntl, for BSD compatibility */