* [PATCH 1/3] x86: sigframe.h: include headers for dependency
@ 2008-12-18 22:43 Hiroshi Shimamoto
2008-12-18 22:46 ` [PATCH 2/3] x86: asm-offset_64: use rt_sigframe_ia32 Hiroshi Shimamoto
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Hiroshi Shimamoto @ 2008-12-18 22:43 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Impact: cleanup
Include following headers for dependency.
asm/sigcontext.h
asm/siginfo.h
asm/ucontext.h
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/include/asm/sigframe.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/arch/x86/include/asm/sigframe.h b/arch/x86/include/asm/sigframe.h
index 3bd0f42..4e0fe26 100644
--- a/arch/x86/include/asm/sigframe.h
+++ b/arch/x86/include/asm/sigframe.h
@@ -1,6 +1,10 @@
#ifndef _ASM_X86_SIGFRAME_H
#define _ASM_X86_SIGFRAME_H
+#include <asm/sigcontext.h>
+#include <asm/siginfo.h>
+#include <asm/ucontext.h>
+
#ifdef CONFIG_X86_32
#define sigframe_ia32 sigframe
#define rt_sigframe_ia32 rt_sigframe
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] x86: asm-offset_64: use rt_sigframe_ia32
2008-12-18 22:43 [PATCH 1/3] x86: sigframe.h: include headers for dependency Hiroshi Shimamoto
@ 2008-12-18 22:46 ` Hiroshi Shimamoto
2008-12-18 22:47 ` [PATCH 3/3] x86: ia32.h: remove unused struct sigfram32 and rt_sigframe32 Hiroshi Shimamoto
2008-12-18 23:02 ` [PATCH 1/3] x86: sigframe.h: include headers for dependency H. Peter Anvin
2 siblings, 0 replies; 4+ messages in thread
From: Hiroshi Shimamoto @ 2008-12-18 22:46 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Impact: cleanup
Use rt_sigframe_ia32 instead of rt_sigframe32.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/kernel/asm-offsets_64.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kernel/asm-offsets_64.c b/arch/x86/kernel/asm-offsets_64.c
index 7fcf63d..1d41d3f 100644
--- a/arch/x86/kernel/asm-offsets_64.c
+++ b/arch/x86/kernel/asm-offsets_64.c
@@ -20,6 +20,8 @@
#include <xen/interface/xen.h>
+#include <asm/sigframe.h>
+
#define __NO_STUBS 1
#undef __SYSCALL
#undef _ASM_X86_UNISTD_64_H
@@ -87,7 +89,7 @@ int main(void)
BLANK();
#undef ENTRY
DEFINE(IA32_RT_SIGFRAME_sigcontext,
- offsetof (struct rt_sigframe32, uc.uc_mcontext));
+ offsetof (struct rt_sigframe_ia32, uc.uc_mcontext));
BLANK();
#endif
DEFINE(pbe_address, offsetof(struct pbe, address));
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] x86: ia32.h: remove unused struct sigfram32 and rt_sigframe32
2008-12-18 22:43 [PATCH 1/3] x86: sigframe.h: include headers for dependency Hiroshi Shimamoto
2008-12-18 22:46 ` [PATCH 2/3] x86: asm-offset_64: use rt_sigframe_ia32 Hiroshi Shimamoto
@ 2008-12-18 22:47 ` Hiroshi Shimamoto
2008-12-18 23:02 ` [PATCH 1/3] x86: sigframe.h: include headers for dependency H. Peter Anvin
2 siblings, 0 replies; 4+ messages in thread
From: Hiroshi Shimamoto @ 2008-12-18 22:47 UTC (permalink / raw)
To: Ingo Molnar, Thomas Gleixner, H. Peter Anvin; +Cc: linux-kernel
From: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Impact: cleanup
Remove struct sigfram32 and rt_sigframe32 because there is no user.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
---
arch/x86/include/asm/ia32.h | 18 ------------------
1 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h
index 97989c0..50ca486 100644
--- a/arch/x86/include/asm/ia32.h
+++ b/arch/x86/include/asm/ia32.h
@@ -129,24 +129,6 @@ typedef struct compat_siginfo {
} _sifields;
} compat_siginfo_t;
-struct sigframe32 {
- u32 pretcode;
- int sig;
- struct sigcontext_ia32 sc;
- struct _fpstate_ia32 fpstate;
- unsigned int extramask[_COMPAT_NSIG_WORDS-1];
-};
-
-struct rt_sigframe32 {
- u32 pretcode;
- int sig;
- u32 pinfo;
- u32 puc;
- compat_siginfo_t info;
- struct ucontext_ia32 uc;
- struct _fpstate_ia32 fpstate;
-};
-
struct ustat32 {
__u32 f_tfree;
compat_ino_t f_tinode;
--
1.6.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] x86: sigframe.h: include headers for dependency
2008-12-18 22:43 [PATCH 1/3] x86: sigframe.h: include headers for dependency Hiroshi Shimamoto
2008-12-18 22:46 ` [PATCH 2/3] x86: asm-offset_64: use rt_sigframe_ia32 Hiroshi Shimamoto
2008-12-18 22:47 ` [PATCH 3/3] x86: ia32.h: remove unused struct sigfram32 and rt_sigframe32 Hiroshi Shimamoto
@ 2008-12-18 23:02 ` H. Peter Anvin
2 siblings, 0 replies; 4+ messages in thread
From: H. Peter Anvin @ 2008-12-18 23:02 UTC (permalink / raw)
To: Hiroshi Shimamoto; +Cc: Ingo Molnar, Thomas Gleixner, linux-kernel
Applied to tip:x86/signal, thanks!
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-12-18 23:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-18 22:43 [PATCH 1/3] x86: sigframe.h: include headers for dependency Hiroshi Shimamoto
2008-12-18 22:46 ` [PATCH 2/3] x86: asm-offset_64: use rt_sigframe_ia32 Hiroshi Shimamoto
2008-12-18 22:47 ` [PATCH 3/3] x86: ia32.h: remove unused struct sigfram32 and rt_sigframe32 Hiroshi Shimamoto
2008-12-18 23:02 ` [PATCH 1/3] x86: sigframe.h: include headers for dependency H. Peter Anvin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.