lkml.org 
[lkml]   [2015]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 7/9] n_tracerouter: stop including <asm-generic/bug>
    Date
    <asm-generic/bug> contains the default implementation of BUG() and friends,
    which architectures may decide to use. The proper way to get them is
    <linux/bug.h>, so use that.

    Signed-off-by: Christoph Hellwig <hch@lst.de>
    ---
    drivers/tty/n_tracerouter.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/tty/n_tracerouter.c b/drivers/tty/n_tracerouter.c
    index 1f063d3..ac57169 100644
    --- a/drivers/tty/n_tracerouter.c
    +++ b/drivers/tty/n_tracerouter.c
    @@ -34,7 +34,7 @@
    #include <linux/string.h>
    #include <linux/mutex.h>
    #include <linux/slab.h>
    -#include <asm-generic/bug.h>
    +#include <linux/bug.h>
    #include "n_tracesink.h"

    /*
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-08-28 10:01    [W:2.443 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site