[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200809022142.04578.hverkuil@xs4all.nl>
Date: Tue, 2 Sep 2008 21:42:04 +0200
From: Hans Verkuil <hverkuil@...all.nl>
To: Harvey Harrison <harvey.harrison@...il.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>,
v4l <video4linux-list@...hat.com>,
Mauro Carvalho Chehab <mchehab@...radead.org>
Subject: Re: [BUILDFIX] byteorder: remove direct byteorder includes
Hi Harvey,
On Tuesday 02 September 2008 20:50:00 Harvey Harrison wrote:
> All of the functionality has been collected in linux/swab.h
>
> Needed to prevent build brakage as arches start moving over
> to the new byteorder implementation.
1) With this patch the i686, x86_64 and powerpc64 build fail on
av7110.c, as I said in my original mail. Do you have additional patches
that address this?
2) For the cx18, ivtv and vpx3220 please just remove the swabb.h
include: it's either not really needed or included through another
include. The v4l-dvb master repository has been updated to just remove
these linux/byteorder/swabb.h includes in these three sources.
Regards,
Hans
> Signed-off-by: Harvey Harrison <harvey.harrison@...il.com>
> ---
> Sorry, I only sent you half-a-patch in my last message, this is the
> full patch needed.
>
> drivers/media/dvb/ttpci/av7110.c | 2 +-
> drivers/media/video/cx18/cx18-driver.h | 2 +-
> drivers/media/video/ivtv/ivtv-driver.h | 2 +-
> drivers/media/video/vpx3220.c | 2 +-
> kernel/rcupreempt.c | 2 +-
> tests/rcutorture.c | 2 +-
> 6 files changed, 6 insertions(+), 6 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/drivers/media/video/cx18/cx18-driver.h
> b/drivers/media/video/cx18/cx18-driver.h
> index 2635989..8787a5f 100644
> --- a/drivers/media/video/cx18/cx18-driver.h
> +++ b/drivers/media/video/cx18/cx18-driver.h
> @@ -38,7 +38,7 @@
> #include <linux/i2c-algo-bit.h>
> #include <linux/list.h>
> #include <linux/unistd.h>
> -#include <linux/byteorder/swab.h>
> +#include <linux/swab.h>
> #include <linux/pagemap.h>
> #include <linux/workqueue.h>
> #include <linux/mutex.h>
> diff --git a/drivers/media/video/ivtv/ivtv-driver.h
> b/drivers/media/video/ivtv/ivtv-driver.h
> index 2ceb522..2213473 100644
> --- a/drivers/media/video/ivtv/ivtv-driver.h
> +++ b/drivers/media/video/ivtv/ivtv-driver.h
> @@ -49,7 +49,7 @@
> #include <linux/i2c-algo-bit.h>
> #include <linux/list.h>
> #include <linux/unistd.h>
> -#include <linux/byteorder/swab.h>
> +#include <linux/swab.h>
> #include <linux/pagemap.h>
> #include <linux/scatterlist.h>
> #include <linux/workqueue.h>
> diff --git a/drivers/media/video/vpx3220.c
> b/drivers/media/video/vpx3220.c
> index 3529302..6828411 100644
> --- a/drivers/media/video/vpx3220.c
> +++ b/drivers/media/video/vpx3220.c
> @@ -24,7 +24,7 @@
> #include <linux/types.h>
> #include <linux/slab.h>
>
> -#include <linux/byteorder/swab.h>
> +#include <linux/swab.h>
>
> #include <asm/io.h>
> #include <asm/uaccess.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@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists