1. 10 8月, 2010 37 次提交
  2. 09 8月, 2010 3 次提交
    • T
      drm: fix fallouts from slow-work -> wq conversion · 9a919c46
      Tejun Heo 提交于
      Commit 991ea75c (drm: use workqueue instead of slow-work), which made
      drm to use wq instead of slow-work, didn't account for the return
      value difference between delayed_slow_work_enqueue() and
      queue_delayed_work().  The former returns 0 on success and -errno on
      failures while the latter never fails and only uses the return value
      to indicate whether the work was already pending or not.
      
      This misconversion triggered spurious error messages.  Remove the now
      unnecessary return value check and error message.
      
      Markus: caught another incorrect conversion in drm_kms_helper_poll_enable()
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      Tested-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      Cc: David Airlie <airlied@linux.ie>
      Cc: dri-devel@lists.freedesktop.org
      9a919c46
    • T
      workqueue: workqueue_cpu_callback() should be cpu_notifier instead of hotcpu_notifier · f6500947
      Tejun Heo 提交于
      Commit 6ee0578b (workqueue: mark init_workqueues as early_initcall)
      made workqueue SMP initialization depend on workqueue_cpu_callback(),
      which however was registered as hotcpu_notifier() and didn't get
      called if CONFIG_HOTPLUG_CPU is not set.  This made gcwqs on non-boot
      CPUs not create their initial workers leading to boot failures.  Fix
      it by making it a cpu_notifier.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Reported-and-bisected-by: Nwalt <w41ter@gmail.com>
      Tested-by: NMarkus Trippelsdorf <markus@trippelsdorf.de>
      f6500947
    • L
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile · 45d7f32c
      Linus Torvalds 提交于
      * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile:
        arch/tile: check kmalloc() result
        arch/tile: catch up on various minor cleanups.
        arch/tile: avoid erroneous error return for PTRACE_POKEUSR.
        tile: set ARCH_KMALLOC_MINALIGN
        tile: remove homegrown L1_CACHE_ALIGN macro
        arch/tile: Miscellaneous cleanup changes.
        arch/tile: Split the icache flush code off to a generic <arch> header.
        arch/tile: Fix bug in support for atomic64_xx() ops.
        arch/tile: Shrink the tile-opcode files considerably.
        arch/tile: Add driver to enable access to the user dynamic network.
        arch/tile: Enable more sophisticated IRQ model for 32-bit chips.
        Move list types from <linux/list.h> to <linux/types.h>.
        Add wait4() back to the set of <asm-generic/unistd.h> syscalls.
        Revert adding some arch-specific signal syscalls to <linux/syscalls.h>.
        arch/tile: Do not use GFP_KERNEL for dma_alloc_coherent(). Feedback from fujita.tomonori@lab.ntt.co.jp.
        arch/tile: core support for Tilera 32-bit chips.
        Fix up the "generic" unistd.h ABI to be more useful.
      45d7f32c