[PATCH 1/1] (pre-stable) sparc: sigutil: Include <linux/errno.h>

Brad Figg brad.figg at canonical.com
Fri Dec 2 18:36:13 UTC 2011

From: Ben Hutchings <ben at decadent.org.uk>

BugLink: http://bugs.launchpad.net/bugs/899311

This file introduced in 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 at decadent.org.uk>
Signed-off-by: David S. Miller <davem at davemloft.net>
(cherry picked from commit 9ff03b392fa34f6d549fbb56bf05d8a0483aa818)
Signed-off-by: Brad Figg <brad.figg at canonical.com>
 arch/sparc/kernel/sigutil_64.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/kernel/sigutil_64.c b/arch/sparc/kernel/sigutil_64.c
index 6edc4e5..06a69b4 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>

More information about the kernel-team mailing list