linux-next: build failure after merge of the v4l-dvb tree
Subsystems (2)
Hi Mauro,
After merging the v4l-dvb tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/media/media-devnode.c:40:28: error: linux/smp_lock.h: No such file or directory
Caused by commit cb3c186e31be ("[media] media: Media device node support"). The BKL is no more ...
Why is a patch with Author date 2009-12-09 turning up in linux-next today?
I have used the v4l-dvb tree from next-20110321 for today.
Signature · 3 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/
Em 21-03-2011 22:14, Stephen Rothwell escreveu:
Quoted 6 lines
Hi Mauro,
After merging the v4l-dvb tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/media/media-devnode.c:40:28: error:linux/smp_lock.h: No such file or directory
It got removed by this commit: 4ba8216cd90560bc402f52076f64d8546e8aefcb.
There's no reason for the header to be there at media-devnode.c, as it doesn't use BKL.
Quoted 5 lines
Caused by commit
cb3c186e31be("[media] media: Media device node support"). The BKL is no more ...Why is a patch with Author date 2009-12-09 turning up in linux-next today?
Because the Media Controller stuff is under development since 2008, but it took a long time to be mature enough to be merged.
Quoted 3 lines
I have used the v4l-dvb tree from next-20110321 for today.
The fix patch is as simple as the enclosed one. I'm folding it together with the original changeset (cb3c186e31be), in order to avoid bisect issues.
Thanks!
Mauro
-
commit 1941c46894a60f4c5365fdcce9258f86d3691ae3
Author: Mauro Carvalho Chehab <[email protected]> Date: Tue Mar 22 04:43:47 2011 -0300
[media] media-devnode: Don't include linux/smp_lock.h
drivers/media/media-devnode.c:40:28: error: linux/smp_lock.h: No such file or directory
drivers/media/media-devnode.c +0 -1
@@ -37,7 +37,6 @@#include <linux/kmod.h> #include <linux/slab.h> #include <linux/mm.h> -#include <linux/smp_lock.h> #include <linux/string.h> #include <linux/types.h> #include <linux/uaccess.h>