提交 2b0af609 编写于 作者: R Rich Felker

add some comments about the mips ksigaction structure weirdness

上级 509b50ed
...@@ -2,5 +2,8 @@ struct k_sigaction { ...@@ -2,5 +2,8 @@ struct k_sigaction {
unsigned flags; unsigned flags;
void (*handler)(int); void (*handler)(int);
unsigned long mask[4]; unsigned long mask[4];
/* The following field is past the end of the structure the
* kernel will read or write, and exists only to avoid having
* mips-specific preprocessor conditionals in sigaction.c. */
void (*restorer)(); void (*restorer)();
}; };
/* This is the structure used for the rt_sigaction syscall on most archs,
* but it can be overridden by a file with the same name in the top-level
* arch dir for a given arch, if necessary. */
struct k_sigaction { struct k_sigaction {
void (*handler)(int); void (*handler)(int);
unsigned long flags; unsigned long flags;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册