Re: [PATCH 1/2] byteorder: add a new include/linux/swab.h todefine byteswapping functions

From: Harvey Harrison
Date: Tue Sep 02 2008 - 14:36:15 EST


From: Harvey Harrison <harvey.harrison@xxxxxxxxx>
Subject: [buildfix-PATCH] byteorder: remove direct includes of linux/byteorder/swabb.h

All of the functionality has been collected in linux/swab.h

Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
drivers/media/dvb/ttpci/av7110.c | 2 +-
kernel/rcupreempt.c | 2 +-
tests/rcutorture.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c
index c0a1746..792a175 100644
--- a/drivers/media/dvb/ttpci/av7110.c
+++ b/drivers/media/dvb/ttpci/av7110.c
@@ -36,7 +36,7 @@
#include <linux/fs.h>
#include <linux/timer.h>
#include <linux/poll.h>
-#include <linux/byteorder/swabb.h>
+#include <linux/swab.h>
#include <linux/smp_lock.h>

#include <linux/kernel.h>
diff --git a/kernel/rcupreempt.c b/kernel/rcupreempt.c
index ca4bbbe..494d0e8 100644
--- a/kernel/rcupreempt.c
+++ b/kernel/rcupreempt.c
@@ -54,7 +54,7 @@
#include <linux/cpu.h>
#include <linux/random.h>
#include <linux/delay.h>
-#include <linux/byteorder/swabb.h>
+#include <linux/swab.h>
#include <linux/cpumask.h>
#include <linux/rcupreempt_trace.h>

diff --git a/tests/rcutorture.c b/tests/rcutorture.c
index 90b5b12..67856af 100644
--- a/tests/rcutorture.c
+++ b/tests/rcutorture.c
@@ -42,7 +42,7 @@
#include <linux/freezer.h>
#include <linux/cpu.h>
#include <linux/delay.h>
-#include <linux/byteorder/swabb.h>
+#include <linux/swab.h>
#include <linux/stat.h>
#include <linux/srcu.h>
#include <linux/slab.h>
--
1.6.0.1.400.ga23d3



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