| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | minor asm-mips/sigcontext.h fix |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Thu, 16 Dec 2004 19:37:58 +0900 (JST) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
The asm-mips/sigcontext.h uses '#ifdef __KERNEL__' to not export
sigcontext32 to userland. It includes linux/types.h but it is needed
just for sigcontext32, so it would be better to hide from userland
too.
Here is a patch. Could you apply?
--- linux-mips/include/asm-mips/sigcontext.h 2004-08-14 19:56:24.000000000
+0900
+++ linux/include/asm-mips/sigcontext.h 2004-12-16 19:02:43.922237317 +0900
@@ -41,8 +41,6 @@
#if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
-#include <linux/types.h>
-
/*
* Keep this struct definition in sync with the sigcontext fragment
* in arch/mips/tools/offset.c
@@ -66,6 +64,8 @@
};
#ifdef __KERNEL__
+#include <linux/types.h>
+
struct sigcontext32 {
__u32 sc_regmask; /* Unused */
__u32 sc_status;
---
Atsushi Nemoto
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | About task->used_math and TIF_USEDFPU, zhan rongkai |
|---|---|
| Next by Date: | Re: No PCI_AUTO in 2.6..., Ralf Baechle |
| Previous by Thread: | About task->used_math and TIF_USEDFPU, zhan rongkai |
| Next by Thread: | Re: minor asm-mips/sigcontext.h fix, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |