1. 21 9月, 2009 1 次提交
  2. 19 9月, 2009 13 次提交
  3. 16 9月, 2009 1 次提交
  4. 31 7月, 2009 1 次提交
  5. 09 7月, 2009 1 次提交
  6. 16 6月, 2009 1 次提交
    • G
      debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem. · 156f5a78
      GeunSik Lim 提交于
      Many developers use "/debug/" or "/debugfs/" or "/sys/kernel/debug/"
      directory name to mount debugfs filesystem for ftrace according to
      ./Documentation/tracers/ftrace.txt file.
      
      And, three directory names(ex:/debug/, /debugfs/, /sys/kernel/debug/) is
      existed in kernel source like ftrace, DRM, Wireless, Documentation,
      Network[sky2]files to mount debugfs filesystem.
      
      debugfs means debug filesystem for debugging easy to use by greg kroah
      hartman. "/sys/kernel/debug/" name is suitable as directory name
      of debugfs filesystem.
      - debugfs related reference: http://lwn.net/Articles/334546/
      
      Fix inconsistency of directory name to mount debugfs filesystem.
      
      * From Steven Rostedt
        - find_debugfs() and tracing_files() in this patch.
      Signed-off-by: NGeunSik Lim <geunsik.lim@samsung.com>
      Acked-by     : Inaky Perez-Gonzalez <inaky@linux.intel.com>
      Reviewed-by  : Steven Rostedt <rostedt@goodmis.org>
      Reviewed-by  : James Smart <james.smart@emulex.com>
      CC: Jiri Kosina <trivial@kernel.org>
      CC: David Airlie <airlied@linux.ie>
      CC: Peter Osterlund <petero2@telia.com>
      CC: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
      CC: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
      CC: Masami Hiramatsu <mhiramat@redhat.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      156f5a78
  7. 21 5月, 2009 1 次提交
  8. 15 5月, 2009 1 次提交
  9. 01 5月, 2009 3 次提交
  10. 23 4月, 2009 1 次提交
  11. 11 4月, 2009 1 次提交
  12. 07 4月, 2009 2 次提交
  13. 03 4月, 2009 1 次提交
  14. 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
  15. 28 3月, 2009 1 次提交
  16. 25 3月, 2009 1 次提交
    • H
      UIO: Add name attributes for mappings and port regions · 82057791
      Hans J. Koch 提交于
      If a UIO device has several memory mappings, it can be difficult for userspace
      to find the right one. The situation becomes even worse if the UIO driver can
      handle different versions of a card that have different numbers of mappings.
      Benedikt Spranger has such cards and pointed this out to me. Thanks, Bene!
      
      To address this problem, this patch adds "name" sysfs attributes for each
      mapping. Userspace can use these to clearly identify each mapping. The name
      string is optional. If a driver doesn't set it, an empty string will be
      returned, so this patch won't break existing drivers.
      
      The same problem exists for port region information, so a "name" attribute is
      added there, too.
      Signed-off-by: NHans J. Koch <hjk@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      82057791
  17. 21 3月, 2009 1 次提交
  18. 13 3月, 2009 1 次提交
  19. 09 3月, 2009 1 次提交
  20. 23 2月, 2009 1 次提交
    • R
      docbook: split kernel-api for device-drivers · f7f84f38
      Randy Dunlap 提交于
      The kernel-api docbook was much larger than any of the others,
      so processing it took longer and needed some docbook extras in
      some cases, so split it into kernel-api (infrastructure etc.)
      and device drivers/device subsystems.  This allows these docbooks
      to be generated in parallel.  (This reduced the docbook processing
      time on my 4-proc system with make -j4 from about 5min:16sec to
      about 2min:01sec.)
      
      The chapters that were moved from kernel-api to device-drivers are:
      
      Driver Basics
      Device drivers infrastructure
      Parallel Port Devices
      Message-based devices
      Sound Devices
      16x50 UART Driver
      Frame Buffer Library
      Input Subsystem
      Serial Peripheral Interface (SPI)
      I2C and SMBus Subsystem
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NSam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f7f84f38
  21. 30 1月, 2009 2 次提交
  22. 29 1月, 2009 1 次提交
  23. 09 1月, 2009 1 次提交
  24. 08 1月, 2009 1 次提交