mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sparc: fix fallout from O_CLOEXEC changes
@ 2007-08-04 20:30 Alexey Dobriyan
  2007-08-05  3:23 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2007-08-04 20:30 UTC (permalink / raw)
  To: davem; +Cc: linux-kernel, sparclinux

Just "#define O_CLOEXEC" is OK, because asm-generic/fcntl.h will check if it's
already defined.

Loads of "struct flock inside parameter list" warnings and
"O_WRONLY undefined" errors.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 include/asm-sparc/fcntl.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/asm-sparc/fcntl.h
+++ b/include/asm-sparc/fcntl.h
@@ -32,5 +32,6 @@
 #define __ARCH_FLOCK_PAD	short __unused;
 #define __ARCH_FLOCK64_PAD	short __unused;
 
+#include <asm-generic/fcntl.h>
 
 #endif


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-05  3:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-04 20:30 [PATCH] sparc: fix fallout from O_CLOEXEC changes Alexey Dobriyan
2007-08-05  3:23 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®