1. 09 2月, 2008 7 次提交
  2. 08 2月, 2008 1 次提交
    • B
      Introduce flags for reserve_bootmem() · 72a7fe39
      Bernhard Walle 提交于
      This patchset adds a flags variable to reserve_bootmem() and uses the
      BOOTMEM_EXCLUSIVE flag in crashkernel reservation code to detect collisions
      between crashkernel area and already used memory.
      
      This patch:
      
      Change the reserve_bootmem() function to accept a new flag BOOTMEM_EXCLUSIVE.
      If that flag is set, the function returns with -EBUSY if the memory already
      has been reserved in the past.  This is to avoid conflicts.
      
      Because that code runs before SMP initialisation, there's no race condition
      inside reserve_bootmem_core().
      
      [akpm@linux-foundation.org: coding-style fixes]
      [akpm@linux-foundation.org: fix powerpc build]
      Signed-off-by: NBernhard Walle <bwalle@suse.de>
      Cc: <linux-arch@vger.kernel.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Vivek Goyal <vgoyal@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      72a7fe39
  3. 28 1月, 2008 2 次提交
    • R
      [NET] smc91x: Make smc91x use IRQ resource trigger flags · e7b3dc7e
      Russell King 提交于
      smc91x is shared between many different platforms.  Each platform needs
      to specify the interrupt type, and in some cases the irq type depends
      on more than just the build configuration - it depends on runtime
      checks.
      
      Rather than throwing this code into the SMC_IRQ_FLAGS definition, provide
      a way for these flags to be passed via the IRQ resource itself.
      
      Note that IRQF_TRIGGER_* constants are intentionally defined to correspond
      with the IORESOURCE_IRQ_* interrupt type flags, in much the same way that
      the low bits of PCI iomem resources correspond with the BAR flag bits.
      
      Also provide a way to configure smc91x to read the IRQ flags from the
      resource.  Once all platforms have been converted over (signified
      by all definitions of SMC_IRQ_FLAGS being -1) SMC_IRQ_FLAGS should
      be removed.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Acked-by: NNicolas Pitre <nico@cam.org>
      Acked-by: NJeff Garzik <jgarzik@redhat.com>
      e7b3dc7e
    • K
      blk_end_request: changing arm (take 4) · 650e9cfd
      Kiyoshi Ueda 提交于
      This patch converts arm's OMAP mailbox driver to use
      blk_end_request interfaces.
      
      If the original code was converted literally, blk_end_request would
      be called with '-EIO' because end_that_request_last() were called
      with '0' (i.e. failure).
      But I think these '0's are bugs in the original code because it's
      unlikely that all requests are treated as failure.
      (The bugs should have no effect unless these requests have an end_io
       callback.)
      
      So I changed them to pass '0' (i.e. success) to blk_end_request.
      
      Cc: Toshihiro Kobayashi <toshihiro.kobayashi@nokia.com>
      Cc: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
      Signed-off-by: NKiyoshi Ueda <k-ueda@ct.jp.nec.com>
      Signed-off-by: NJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      650e9cfd
  4. 26 1月, 2008 2 次提交
  5. 25 1月, 2008 1 次提交
  6. 06 11月, 2007 1 次提交
  7. 20 10月, 2007 1 次提交
  8. 05 10月, 2007 1 次提交
  9. 21 9月, 2007 2 次提交
  10. 22 8月, 2007 2 次提交
  11. 24 7月, 2007 1 次提交
  12. 22 7月, 2007 1 次提交
  13. 21 5月, 2007 1 次提交
  14. 11 5月, 2007 2 次提交
  15. 09 5月, 2007 13 次提交
  16. 05 5月, 2007 2 次提交