about summary refs log tree commit diff
path: root/arch/mips/ksigaction.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-29 12:24:06 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-29 12:24:06 -0400
commit2b0af609ef3d90fe6433270f2e2f62fc77ec7441 (patch)
tree338e346e14ae53b5e9511e35cffcde431e7ccec2 /arch/mips/ksigaction.h
parent509b50eda8ea7d4a28f738e4cf8ea98d25959f00 (diff)
downloadmusl-2b0af609ef3d90fe6433270f2e2f62fc77ec7441.tar.gz
musl-2b0af609ef3d90fe6433270f2e2f62fc77ec7441.tar.xz
musl-2b0af609ef3d90fe6433270f2e2f62fc77ec7441.zip
add some comments about the mips ksigaction structure weirdness
Diffstat (limited to 'arch/mips/ksigaction.h')
-rw-r--r--arch/mips/ksigaction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/ksigaction.h b/arch/mips/ksigaction.h
index 648ce068..6d731646 100644
--- a/arch/mips/ksigaction.h
+++ b/arch/mips/ksigaction.h
@@ -2,5 +2,8 @@ struct k_sigaction {
 	unsigned flags;
 	void (*handler)(int);
 	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)();
 };