Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1215195

[PATCH 7/9] n_tracerouter: stop including <asm-generic/bug>

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject [PATCH 7/9] n_tracerouter: stop including <asm-generic/bug>
Date 2015-08-28 09:40 +0200
Message-ID <q2mqt-51a-7@gated-at.bofh.it> (permalink)
References <q2mqt-51a-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


<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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 7/9] n_tracerouter: stop including <asm-generic/bug> Christoph Hellwig <hch@lst.de> - 2015-08-28 09:40 +0200

csiph-web