--- v03
+++ v06
@@ -1,25 +1,31 @@
-Fixes compiler error:
+Fixes userspace compiler errors:
-drm/savage_drm.h:50:24: error: array type has incomplete element type
- struct drm_tex_region texList[SAVAGE_NR_TEX_HEAPS][SAVAGE_NR_TEX_REGIONS +
+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.rapeli@iki.fi>
+Cc: H. Peter Anvin <hpa@zytor.com>
+Cc: Arnd Bergmann <arnd@arndb.de>
+Cc: Al Viro <viro@zeniv.linux.org.uk>
---
- include/uapi/drm/savage_drm.h | 2 ++
- 1 file changed, 2 insertions(+)
+ include/uapi/asm-generic/ucontext.h | 3 +++
+ 1 file changed, 3 insertions(+)
-diff --git a/include/uapi/drm/savage_drm.h b/include/uapi/drm/savage_drm.h
-index 818d49b..9dc9dc1 100644
---- a/include/uapi/drm/savage_drm.h
-+++ b/include/uapi/drm/savage_drm.h
-@@ -26,6 +26,8 @@
- #ifndef __SAVAGE_DRM_H__
- #define __SAVAGE_DRM_H__
+diff --git a/include/uapi/asm-generic/ucontext.h b/include/uapi/asm-generic/ucontext.h
+index ad77343e8a9a..448152801c4f 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 <drm/drm.h>
++#include <asm/signal.h>
++#include <asm/sigcontext.h>
+
- #ifndef __SAVAGE_SAREA_DEFINES__
- #define __SAVAGE_SAREA_DEFINES__
-
+ struct ucontext {
+ unsigned long uc_flags;
+ struct ucontext *uc_link;
--
-2.1.4
+2.13.3