summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2015-06-25 09:32:22 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-09-03 13:30:01 +0100
commit1fa60c74d7107d572972ef524ec789c25665aa6b (patch)
tree20b1cc096cb8580382aeafdeb5b2e8f8d82ded3e
parent36d6dfffc0b860a9ade17c96b3af5cd49108c498 (diff)
downloadlinux-stable-1fa60c74d7107d572972ef524ec789c25665aa6b.tar.gz
linux-stable-1fa60c74d7107d572972ef524ec789c25665aa6b.tar.bz2
linux-stable-1fa60c74d7107d572972ef524ec789c25665aa6b.zip
s390/sclp: fix compile error
commit a313bdc5310dd807655d3ca3eb2219cd65dfe45a upstream. Fix this error when compiling with CONFIG_SMP=n and CONFIG_DYNAMIC_DEBUG=y: drivers/s390/char/sclp_early.c: In function 'sclp_read_info_early': drivers/s390/char/sclp_early.c:87:19: error: 'EBUSY' undeclared (first use in this function) } while (rc == -EBUSY); ^ Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Stephen Powell <zlinuxman@wowway.com> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
-rw-r--r--drivers/s390/char/sclp_early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/sclp_early.c b/drivers/s390/char/sclp_early.c
index 1918d9dff45d..45c3d7041c81 100644
--- a/drivers/s390/char/sclp_early.c
+++ b/drivers/s390/char/sclp_early.c
@@ -7,6 +7,7 @@
#define KMSG_COMPONENT "sclp_early"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
+#include <linux/errno.h>
#include <asm/ctl_reg.h>
#include <asm/sclp.h>
#include <asm/ipl.h>