On Tue, Feb 17, 2015 at 10:10:42AM +0100, Arnd Bergmann wrote:
> On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote:
> > #ifndef __ASM_GENERIC_UCONTEXT_H
> > #define __ASM_GENERIC_UCONTEXT_H
> >
> > +#include
> > +#include
> > +
> > struct ucontext {
> >
>
> Including another
On Tue, Feb 17, 2015 at 10:10:42AM +0100, Arnd Bergmann wrote:
On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote:
#ifndef __ASM_GENERIC_UCONTEXT_H
#define __ASM_GENERIC_UCONTEXT_H
+#include asm-generic/signal.h
+#include asm/sigcontext.h
+
struct ucontext {
On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote:
> #ifndef __ASM_GENERIC_UCONTEXT_H
> #define __ASM_GENERIC_UCONTEXT_H
>
> +#include
> +#include
> +
> struct ucontext {
>
Including another asm-generic header here is a bad idea: it breaks
if an architecture overrides asm/signal.h
On Tuesday 17 February 2015 00:05:48 Mikko Rapeli wrote:
#ifndef __ASM_GENERIC_UCONTEXT_H
#define __ASM_GENERIC_UCONTEXT_H
+#include asm-generic/signal.h
+#include asm/sigcontext.h
+
struct ucontext {
Including another asm-generic header here is a bad idea: it breaks
if an
Fixes userspace compiler errors:
error: unknown type name ‘stack_t’
error: field ‘uc_mcontext’ has incomplete type
struct sigcontext uc_mcontext;
error: unknown type name ‘sigset_t’
Signed-off-by: Mikko Rapeli
---
include/uapi/asm-generic/ucontext.h | 3 +++
1 file changed, 3 insertions(+)
Fixes userspace compiler errors:
error: unknown type name ‘stack_t’
error: field ‘uc_mcontext’ has incomplete type
struct sigcontext uc_mcontext;
error: unknown type name ‘sigset_t’
Signed-off-by: Mikko Rapeli mikko.rap...@iki.fi
---
include/uapi/asm-generic/ucontext.h | 3 +++
1 file changed,
6 matches
Mail list logo