1. 31 Oct, 2006 3 commits
    • Linus Torvalds's avatar
      Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus · 528ba4ef
      Linus Torvalds authored
      * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
        [MIPS] MIPS doesn't need compat_sys_getdents.
        [MIPS] JMR3927: Fixup another victim of the irq pt_regs cleanup.
        [MIPS] EMMA 2 / Markeins: struct resource takes physical addresses.
        [MIPS] EMMA 2 / Markeins: Convert to name struct resource initialization.
        [MIPS] EMMA 2 / Markeins: Formitting fixes split from actual address fixes.
        [MIPS] EMMA 2 / Markeins: Fix build wreckage due to genirq wreckage.
        [MIPS] Ocelot G: Fix build error and numerous warnings.
        [MIPS] Fix return value of TXX9 SPI interrupt handler
        [MIPS] Au1000: Fix warning about unused variable.
        [MIPS] Wire up getcpu(2) and epoll_wait(2) syscalls.
        [MIPS] Make SB1 cache flushes not to use on_each_cpu
        [MIPS] Fix warning about unused definition in c-sb1.c
        [MIPS] SMTC: Make 8 the default number of processors.
        [MIPS] Oprofile: Fix MIPSxx counter number detection.
        [MIPS] Au1xx0 code sets incorrect mips_hpt_frequency
        [MIPS] Oprofile: fix on non-VSMP / non-SMTC SMP configurations.
      528ba4ef
    • Jun'ichi Nomura's avatar
      [PATCH] clean up add_bd_holder() · df6c0cd9
      Jun'ichi Nomura authored
      add_bd_holder() is called from bd_claim_by_kobject to put a given struct
      bd_holder in the list if there is no matching entry.
      
      There are 3 possible results of add_bd_holder():
        1. there is no matching entry and add the given one to the list
        2. there is matching entry, so just increment reference count of
           the existing one
        3. something failed during its course
      
      1 and 2 are successful cases.  But for case 2, someone has to free the
      unused struct bd_holder.
      
      The current code frees it inside of add_bd_holder and returns same value
      0 for both cases 1 and 2.  However, it's natural and less error-prone if
      caller frees it since it's allocated by the caller.
      Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      df6c0cd9
    • Jun'ichi Nomura's avatar
      [PATCH] fix bd_claim_by_kobject error handling · bcb55165
      Jun'ichi Nomura authored
      This fixes bd_claim_by_kobject to release bdev correctly in case that
      bd_claim succeeds but following add_bd_holder fails.
      Signed-off-by: default avatarJun'ichi Nomura <j-nomura@ce.jp.nec.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      bcb55165
  2. 30 Oct, 2006 37 commits