1. 03 4月, 2009 2 次提交
  2. 01 4月, 2009 15 次提交
  3. 31 3月, 2009 1 次提交
    • 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
  4. 25 3月, 2009 1 次提交
  5. 24 3月, 2009 1 次提交
  6. 20 3月, 2009 3 次提交
  7. 09 3月, 2009 1 次提交
    • E
      [ARM] pxa: separate definitions from pxa-regs.h and remove it finally · 5bf3df3f
      Eric Miao 提交于
      The remaining registers are separated into:
      
         - <mach/regs-ost.h>
         - <mach/regs-rtc.h>
         - <mach/regs-intc.h>
      
      and then we can remove pxa-regs.h completely. Instead of #include this
      file, let's:
      
      1. include the specific <mach/regs-*.h> with care (if that's absolutely
         necessary)
      
      2. define the registers in the driver, make cleanly defined API to expose
         the register access to external with sufficient reason
      Signed-off-by: NEric Miao <eric.miao@marvell.com>
      5bf3df3f
  8. 06 3月, 2009 1 次提交
  9. 27 2月, 2009 1 次提交
    • M
      rtc: sh-rtc: Add Single IRQ Support · 5e084a15
      Magnus Damm 提交于
      Add support for single IRQ hardware to the sh-rtc driver.
      
      This is useful for processors with limited interrupt masking
      support such as sh7750 and sh7780. With this patch in place we
      can add logic to the intc code that merges all RTC vectors into
      a single linux interrupt with proper masking/unmasking support.
      
      Specify a single IRQ in the platform data to use this new shared
      IRQ feature. Separate Periodic/Carry/Alarm IRQs are still supported.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      5e084a15
  10. 12 2月, 2009 2 次提交
  11. 06 2月, 2009 2 次提交
  12. 16 1月, 2009 3 次提交
  13. 11 1月, 2009 1 次提交
  14. 09 1月, 2009 2 次提交
  15. 07 1月, 2009 4 次提交