Commit 439bed8b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] fix INIT_SIGHAND warning on mips

sa_handler isn't the first member of struct sigaction on mips.  Use C99
initializers to avoid a compiler warning.  (There don't seem to be more
serious problems as mips worked with that warning for ages)
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5efaaaac
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
#define INIT_SIGHAND(sighand) { \ #define INIT_SIGHAND(sighand) { \
.count = ATOMIC_INIT(1), \ .count = ATOMIC_INIT(1), \
.action = { {{NULL,}}, }, \ .action = { { { .sa_handler = NULL, } }, }, \
.siglock = SPIN_LOCK_UNLOCKED, \ .siglock = SPIN_LOCK_UNLOCKED, \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment