summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-11-13 08:20:04 +0100
committerDavid S. Miller <davem@davemloft.net>2011-11-14 05:53:25 +0100
commit9ff03b392fa34f6d549fbb56bf05d8a0483aa818 (patch)
treecb9be221c7c7cfe054a3312c36484975508010e0 /arch/sparc
parentMerge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff)
downloadlinux-9ff03b392fa34f6d549fbb56bf05d8a0483aa818.tar.xz
linux-9ff03b392fa34f6d549fbb56bf05d8a0483aa818.zip
sparc: sigutil: Include <linux/errno.h>
This file introduced in 2.6.32.47 currently fails to compile: arch/sparc/kernel/sigutil_64.c: In function 'save_fpu_state': arch/sparc/kernel/sigutil_64.c:25: error: 'EFAULT' undeclared (first use in this function) Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/sigutil_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/sigutil_64.c b/arch/sparc/kernel/sigutil_64.c
index e7dc508c38eb..b19570d41a39 100644
--- a/arch/sparc/kernel/sigutil_64.c
+++ b/arch/sparc/kernel/sigutil_64.c
@@ -2,6 +2,7 @@
#include <linux/types.h>
#include <linux/thread_info.h>
#include <linux/uaccess.h>
+#include <linux/errno.h>
#include <asm/sigcontext.h>
#include <asm/fpumacro.h>