diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-21 09:17:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-21 09:17:24 -0300 |
commit | d614ff9f8b6297350f6d1690599733960e186b77 (patch) | |
tree | 89246fe60a900ba8f4dadb253cc8ae713a3de5fa /linux/drivers/media/video/s2255drv.c | |
parent | 1b5f53fa337a5c09750864277d21a723ac28c389 (diff) | |
download | mediapointer-dvb-s2-d614ff9f8b6297350f6d1690599733960e186b77.tar.gz mediapointer-dvb-s2-d614ff9f8b6297350f6d1690599733960e186b77.tar.bz2 |
backport commit 405f55712dfe464b3240d7816cc4fe4174831be2
kernel-sync:
Author: Alexey Dobriyan <adobriyan@gmail.com>
Date: Sat Jul 11 22:08:37 2009 +0400
headers: smp_lock.h redux
* Remove smp_lock.h from files which don't need it (including some headers!)
* Add smp_lock.h to files which do need it
* Make smp_lock.h include conditional in hardirq.h
It's needed only for one kernel_locked() usage which is under CONFIG_PREEMPT
This will make hardirq.h inclusion cheaper for every PREEMPT=n config
(which includes allmodconfig/allyesconfig, BTW)
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/s2255drv.c')
-rw-r--r-- | linux/drivers/media/video/s2255drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/s2255drv.c b/linux/drivers/media/video/s2255drv.c index 203f6e3ff..4478f26fe 100644 --- a/linux/drivers/media/video/s2255drv.c +++ b/linux/drivers/media/video/s2255drv.c @@ -48,6 +48,7 @@ #include <linux/videodev2.h> #include <linux/version.h> #include <linux/mm.h> +#include <linux/smp_lock.h> #include <media/videobuf-vmalloc.h> #include <media/v4l2-common.h> #include <media/v4l2-ioctl.h> |