From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932172AbbJOGyc (ORCPT ); Thu, 15 Oct 2015 02:54:32 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:52354 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753432AbbJOGya (ORCPT ); Thu, 15 Oct 2015 02:54:30 -0400 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: mikko.rapeli@iki.fi, Arnd Bergmann , linux-arch@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH v4 54/79] include/uapi/asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h Date: Thu, 15 Oct 2015 07:56:32 +0200 Message-Id: <1444888618-4506-55-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1444888618-4506-1-git-send-email-mikko.rapeli@iki.fi> References: <1444888618-4506-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 46.5.253.112 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) diff --git a/include/uapi/asm-generic/ucontext.h b/include/uapi/asm-generic/ucontext.h index ad77343..4481528 100644 --- a/include/uapi/asm-generic/ucontext.h +++ b/include/uapi/asm-generic/ucontext.h @@ -1,6 +1,9 @@ #ifndef __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H +#include +#include + struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; -- 2.5.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mikko Rapeli Subject: [PATCH v4 54/79] include/uapi/asm-generic/ucontext.h: include asm/signal.h and asm/sigcontext.h Date: Thu, 15 Oct 2015 07:56:32 +0200 Message-ID: <1444888618-4506-55-git-send-email-mikko.rapeli@iki.fi> References: <1444888618-4506-1-git-send-email-mikko.rapeli@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1444888618-4506-1-git-send-email-mikko.rapeli-X3B1VOXEql0@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: mikko.rapeli-X3B1VOXEql0@public.gmane.org, Arnd Bergmann , linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-api@vger.kernel.org =46ixes userspace compiler errors: error: unknown type name =E2=80=98stack_t=E2=80=99 error: field =E2=80=98uc_mcontext=E2=80=99 has incomplete type struct sigcontext uc_mcontext; error: unknown type name =E2=80=98sigset_t=E2=80=99 Signed-off-by: Mikko Rapeli --- include/uapi/asm-generic/ucontext.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/uapi/asm-generic/ucontext.h b/include/uapi/asm-gen= eric/ucontext.h index ad77343..4481528 100644 --- a/include/uapi/asm-generic/ucontext.h +++ b/include/uapi/asm-generic/ucontext.h @@ -1,6 +1,9 @@ #ifndef __ASM_GENERIC_UCONTEXT_H #define __ASM_GENERIC_UCONTEXT_H =20 +#include +#include + struct ucontext { unsigned long uc_flags; struct ucontext *uc_link; --=20 2.5.0