1. 07 4月, 2009 18 次提交
  2. 06 4月, 2009 2 次提交
  3. 03 4月, 2009 6 次提交
  4. 02 4月, 2009 4 次提交
  5. 01 4月, 2009 7 次提交
  6. 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