1. 06 4月, 2009 2 次提交
  2. 03 4月, 2009 6 次提交
  3. 02 4月, 2009 4 次提交
  4. 01 4月, 2009 7 次提交
  5. 31 3月, 2009 3 次提交
    • K
      powerpc/85xx: Use fsl,mpc85.. as prefix for memory ctrl & l2-cache nodes · fe671772
      Kumar Gala 提交于
      Older devices tree's used "fsl,85.." instead of the preferred
      "fsl,mpc85.." for the memory controller & l2 cache controller nodes.
      The EDAC code is the only use of these and has been updated for some
      time to support both "fsl,85.." and "fsl,mpc85.."
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      fe671772
    • J
      powerpc: Make LOWMEM_CAM_NUM depend on FSL_BOOKE · 9b71dbd3
      Josh Boyer 提交于
      The recent addition of CONFIG_LOWMEM_CAM_BOOL and
      CONFIG_LOWMEM_CAM_NUM cause the latter to show up in configs
      that do not need it during 'make oldconfig'.  Make LOWMEM_CAM_NUM
      depend on FSL_BOOKE.
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      9b71dbd3
    • A
      proc 2/2: remove struct proc_dir_entry::owner · 99b76233
      Alexey Dobriyan 提交于
      Setting ->owner as done currently (pde->owner = THIS_MODULE) is racy
      as correctly noted at bug #12454. Someone can lookup entry with NULL
      ->owner, thus not pinning enything, and release it later resulting
      in module refcount underflow.
      
      We can keep ->owner and supply it at registration time like ->proc_fops
      and ->data.
      
      But this leaves ->owner as easy-manipulative field (just one C assignment)
      and somebody will forget to unpin previous/pin current module when
      switching ->owner. ->proc_fops is declared as "const" which should give
      some thoughts.
      
      ->read_proc/->write_proc were just fixed to not require ->owner for
      protection.
      
      rmmod'ed directories will be empty and return "." and ".." -- no harm.
      And directories with tricky enough readdir and lookup shouldn't be modular.
      We definitely don't want such modular code.
      
      Removing ->owner will also make PDE smaller.
      
      So, let's nuke it.
      
      Kudos to Jeff Layton for reminding about this, let's say, oversight.
      
      http://bugzilla.kernel.org/show_bug.cgi?id=12454Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      99b76233
  6. 30 3月, 2009 3 次提交
  7. 28 3月, 2009 1 次提交
    • C
      generic compat_sys_ustat · 2b1c6bd7
      Christoph Hellwig 提交于
      Due to a different size of ino_t ustat needs a compat handler, but
      currently only x86 and mips provide one.  Add a generic compat_sys_ustat
      and switch all architectures over to it.  Instead of doing various
      user copy hacks compat_sys_ustat just reimplements sys_ustat as
      it's trivial.  This was suggested by Arnd Bergmann.
      
      Found by Eric Sandeen when running xfstests/017 on ppc64, which causes
      stack smashing warnings on RHEL/Fedora due to the too large amount of
      data writen by the syscall.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      2b1c6bd7
  8. 27 3月, 2009 4 次提交
  9. 25 3月, 2009 2 次提交
  10. 24 3月, 2009 8 次提交