summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-11-13 07:20:04 +0000
committerDavid S. Miller <davem@davemloft.net>2011-11-13 20:53:25 -0800
commit9ff03b392fa34f6d549fbb56bf05d8a0483aa818 (patch)
treecb9be221c7c7cfe054a3312c36484975508010e0 /arch
parent52e4c2a05256cb83cda12f3c2137ab1533344edb (diff)
downloadlinux-stable-9ff03b392fa34f6d549fbb56bf05d8a0483aa818.tar.gz
linux-stable-9ff03b392fa34f6d549fbb56bf05d8a0483aa818.tar.bz2
linux-stable-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')
-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>