byteorder: fix direct byteswap includes
Subsystems (2)
PATCH 4/6 byteorder: fix direct byteswap includes
The swahb, swahw helpers weren't included from the old byteorder headers, you had to grovel around in the implementation files to get them.
The are provided by the new byteorder headers, so just include that.
Signed-off-by Harvey Harrison <[email protected]>
--- 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(-)
drivers/media/dvb/ttpci/av7110.c +1 -1
@@ -36,7 +36,6 @@#include <linux/fs.h> #include <linux/timer.h> #include <linux/poll.h> -#include <linux/byteorder/swabb.h> #include <linux/smp_lock.h> #include <linux/kernel.h>
@@ -53,6 +52,7 @@#include <linux/kthread.h> #include <asm/unaligned.h> +#include <asm/byteorder.h> #include <asm/system.h> #include <linux/dvb/frontend.h>
drivers/media/video/cx18/cx18-driver.h +1 -1
@@ -38,10 +38,10 @@#include <linux/i2c-algo-bit.h> #include <linux/list.h> #include <linux/unistd.h> -#include <linux/byteorder/swab.h> #include <linux/pagemap.h> #include <linux/workqueue.h> #include <linux/mutex.h> +#include <asm/byteorder.h> #include <linux/dvb/video.h> #include <linux/dvb/audio.h>
drivers/media/video/ivtv/ivtv-driver.h +1 -1
@@ -49,11 +49,11 @@#include <linux/i2c-algo-bit.h> #include <linux/list.h> #include <linux/unistd.h> -#include <linux/byteorder/swab.h> #include <linux/pagemap.h> #include <linux/scatterlist.h> #include <linux/workqueue.h> #include <linux/mutex.h> +#include <asm/byteorder.h> #include <asm/uaccess.h> #include <asm/system.h>
drivers/media/video/vpx3220.c +1 -1
@@ -24,7 +24,7 @@#include <linux/types.h> #include <linux/slab.h> -#include <linux/byteorder/swab.h> +#include <asm/byteorder.h> #include <asm/io.h> #include <asm/uaccess.h>
kernel/rcupreempt.c +1 -1
@@ -54,9 +54,9 @@#include <linux/cpu.h> #include <linux/random.h> #include <linux/delay.h> -#include <linux/byteorder/swabb.h> #include <linux/cpumask.h> #include <linux/rcupreempt_trace.h> +#include <asm/byteorder.h> /* * Macro that prevents the compiler from reordering accesses, but does
tests/rcutorture.c +1 -1
@@ -42,10 +42,10 @@#include <linux/freezer.h> #include <linux/cpu.h> #include <linux/delay.h> -#include <linux/byteorder/swabb.h> #include <linux/stat.h> #include <linux/srcu.h> #include <linux/slab.h> +#include <asm/byteorder.h> MODULE_LICENSE ("GPL" ); MODULE_AUTHOR("Paul E. McKenney <[email protected]> and "
Signature · 1 line
1.5.6.2.393.g45096