1. 09 11月, 2010 1 次提交
    • A
      [media] v4l: kill the BKL · 0edf2e5e
      Arnd Bergmann 提交于
      All of the hard problems for BKL removal appear to be solved in the
      v4l-dvb/master tree. This removes the BKL from the various open
      functions that do not need it, or only use it to protect an
      open count.
      
      The zoran driver is nontrivial in this regard, so I introduce
      a new mutex that locks both the open/release and the ioctl
      functions. Someone with access to the hardware can probably
      improve that by using the existing lock in all cases.
      
      Finally, all drivers that still use the locked version of the
      ioctl function now get called under a new mutex instead of
      the BKL.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      0edf2e5e
  2. 21 10月, 2010 1 次提交
    • A
      BKL: introduce CONFIG_BKL. · 6de5bd12
      Arnd Bergmann 提交于
      With all the patches we have queued in the BKL removal tree, only a
      few dozen modules are left that actually rely on the BKL, and even
      there are lots of low-hanging fruit. We need to decide what to do
      about them, this patch illustrates one of the options:
      
      Every user of the BKL is marked as 'depends on BKL' in Kconfig,
      and the CONFIG_BKL becomes a user-visible option. If it gets
      disabled, no BKL using module can be built any more and the BKL
      code itself is compiled out.
      
      The one exception is file locking, which is practically always
      enabled and does a 'select BKL' instead. This effectively forces
      CONFIG_BKL to be enabled until we have solved the fs/lockd
      mess and can apply the patch that removes the BKL from fs/locks.c.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      6de5bd12
  3. 16 12月, 2009 1 次提交
  4. 17 6月, 2009 1 次提交
  5. 30 3月, 2009 1 次提交
  6. 20 7月, 2008 3 次提交
  7. 14 5月, 2008 1 次提交
  8. 30 4月, 2008 2 次提交
  9. 25 4月, 2008 5 次提交
  10. 18 2月, 2008 3 次提交
  11. 26 1月, 2008 4 次提交
  12. 05 11月, 2007 1 次提交
  13. 10 10月, 2007 5 次提交
  14. 19 7月, 2007 1 次提交
  15. 10 5月, 2007 1 次提交
  16. 09 5月, 2007 1 次提交
  17. 21 2月, 2007 1 次提交
    • A
      V4L/DVB (5196): VIDEO_BUF depends on PCI · 7a9ca4a3
      Andrew Morton 提交于
      m68k allmodconfig:
      drivers/media/video/video-buf.c: In function 'videobuf_queue_pci':
      drivers/media/video/video-buf.c:396: error: 'pci_map_sg' undeclared (first use in this function)
      drivers/media/video/video-buf.c:396: error: (Each undeclared identifier is reported only once
      drivers/media/video/video-buf.c:396: error: for each function it appears in.)
      drivers/media/video/video-buf.c:399: error: 'pci_dma_sync_sg_for_cpu' undeclared (first use in this function)
      drivers/media/video/video-buf.c:401: error: 'pci_unmap_sg' undeclared (first use in this function)
      drivers/media/video/video-buf.c: In function 'videobuf_pci_dma_map':
      Acked-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      7a9ca4a3
  18. 10 12月, 2006 1 次提交
  19. 04 10月, 2006 1 次提交
  20. 11 9月, 2006 1 次提交
    • M
      V4L/DVB (4605): Fixes an issue with V4L1 and make headers-install · 8a905162
      Mauro Carvalho Chehab 提交于
      V4L1 support should be disabled when no CONFIG_VIDEO_V4L1_COMPAT is defined,
      to allow checking for broken V4L2 ports. This is very important during the
      migration phase for V4L2 API.
      However, userspace apps should be capable of using both APIs, since they need
      to test at runtime, via VIDIOCGCAP ioctl, if V4L1 is supported. So, when
      __KERNEL__ is not defined, those ioctls and corresponding structs should be
      visible.
      This patch also removes the obsolete defines HAVE_V4L1 and HAVE_V4L2, that
      where causing some confusion, and were replaced by CONFIG_VIDEO_V4L1_COMPAT
      and CONFIG_VIDEO_V4L2.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      8a905162
  21. 26 6月, 2006 1 次提交
  22. 25 6月, 2006 2 次提交
  23. 13 5月, 2006 1 次提交