1. 14 12月, 2009 7 次提交
  2. 12 12月, 2009 20 次提交
  3. 11 12月, 2009 8 次提交
    • A
      Unify sys_mmap* · f8b72560
      Al Viro 提交于
      New helper - sys_mmap_pgoff(); switch syscalls to using it.
      Acked-by: NDavid S. Miller <davem@davemloft.net>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      f8b72560
    • B
      drm/nouveau: Add DRM driver for NVIDIA GPUs · 6ee73861
      Ben Skeggs 提交于
      This adds a drm/kms staging non-API stable driver for GPUs from NVIDIA.
      
      This driver is a KMS-based driver and requires a compatible nouveau
      userspace libdrm and nouveau X.org driver.
      
      This driver requires firmware files not available in this kernel tree,
      interested parties can find them via the nouveau project git archive.
      
      This driver is reverse engineered, and is in no way supported by nVidia.
      
      Support for nearly the complete range of nvidia hw from nv04->g80 (nv50)
      is available, and the kms driver should support driving nearly all
      output types (displayport is under development still) along with supporting
      suspend/resume.
      
      This work is all from the upstream nouveau project found at
      nouveau.freedesktop.org.
      
      The original authors list from nouveau git tree is:
      Anssi Hannula <anssi.hannula@iki.fi>
      Ben Skeggs <bskeggs@redhat.com>
      Francisco Jerez <currojerez@riseup.net>
      Maarten Maathuis <madman2003@gmail.com>
      Marcin Kościelnicki <koriakin@0x04.net>
      Matthew Garrett <mjg@redhat.com>
      Matt Parnell <mparnell@gmail.com>
      Patrice Mandin <patmandin@gmail.com>
      Pekka Paalanen <pq@iki.fi>
      Xavier Chantry <shiningxc@gmail.com>
      along with project founder Stephane Marchesin <marchesin@icps.u-strasbg.fr>
      Signed-off-by: NBen Skeggs <bskeggs@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      6ee73861
    • J
      drm/ttm: Convert ttm_buffer_object_init to use ttm_placement · 09855acb
      Jerome Glisse 提交于
      Convert ttm_buffer_object_init to use struct ttm_placement and
      rename to ttm_bo_init for consistency with function naming. This
      allow to give more complex placement at buffer creation. For
      instance you ask to allocate bo into vram first but if there is
      not enough vram you can give system as a second possible
      placement. It also allow to create buffer in a specific range.
      
      Also rename ttm_buffer_object_validate to ttm_bo_validate.
      Signed-off-by: NJerome Glisse <jglisse@redhat.com>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      09855acb
    • A
      usbdevfs: move compat_ioctl handling to devio.c · 637e8a60
      Arnd Bergmann 提交于
      Half the compat_ioctl handling is in devio.c, the other
      half is in fs/compat_ioctl.c. This moves everything into
      one place for consistency.
      
      As a positive side-effect, push down the BKL into the
      ioctl methods.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Oliver Neukum <oliver@neukum.org>
      Cc: Alon Bar-Lev <alon.barlev@gmail.com>
      Cc: David Vrabel <david.vrabel@csr.com>
      Cc: linux-usb@vger.kernel.org
      637e8a60
    • A
      asm-generic: add sys_recvmmsg to unistd.h · 3d770387
      Arnd Bergmann 提交于
      sys_recvmmsg was recently merged, add it to asm-generic
      as well so new architectures can use it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      3d770387
    • A
      asm-generic: add sys_accept4 to unistd.h · 9ab87644
      Arnd Bergmann 提交于
      Code review has shown that the generic version of
      unistd.h is missing a reference to the accept4
      system call. This was not noticed before because
      most architectures handle this through sys_socketcall.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      9ab87644
    • M
      asm-generic/gpio.h: add some forward decls of the device struct · 1f018c8d
      Mike Frysinger 提交于
      After the recent commit a4177ee7, attempting to include asm-generic/gpio.h
      in otherwise "slim" code results in ugly warnings like so:
      
        CC      arch/blackfin/kernel/bfin_gpio.o
      In file included from arch/blackfin/include/asm/gpio.h:278,
                       from arch/blackfin/kernel/bfin_gpio.c:15:
      include/asm-generic/gpio.h:193: warning:
      ‘struct device’ declared inside parameter list
      its scope is only this definition or declaration, which is probably not what you want
      
      So add simple C forward decls of the struct device to avoid these.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      1f018c8d
    • I
      sched: Remove forced2_migrations stats · b9889ed1
      Ingo Molnar 提交于
      This build warning:
      
       kernel/sched.c: In function 'set_task_cpu':
       kernel/sched.c:2070: warning: unused variable 'old_rq'
      
      Made me realize that the forced2_migrations stat looks pretty
      pointless (and a misnomer) - remove it.
      
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Mike Galbraith <efault@gmx.de>
      LKML-Reference: <new-submission>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      b9889ed1
  4. 10 12月, 2009 5 次提交