lkml.org 
[lkml]   [2015]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.16.y-ckt 125/130] s390/sclp: fix compile error
    Date
    3.16.7-ckt17 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Sebastian Ott <sebott@linux.vnet.ibm.com>

    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>
    ---
    drivers/s390/char/sclp_early.c | 1 +
    1 file changed, 1 insertion(+)

    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>

    \
     
     \ /
      Last update: 2015-09-04 15:21    [W:4.038 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site