1. 18 12月, 2009 7 次提交
    • R
      PM: Make the initcall_debug style timing for suspend/resume complete · 875ab0b7
      Rafael J. Wysocki 提交于
      Commit f2511774
      (PM: Add initcall_debug style timing for suspend/resume) introduced
      basic timing instrumentation, needed for a scritps/bootgraph.pl
      equivalent or humans, but it missed the fact that bus types and
      device classes which haven't been switched to using struct dev_pm_ops
      objects yet need special handling.  As a result, the suspend/resume
      timing information is only available for devices whose bus types or
      device classes use struct dev_pm_ops objects, so the majority of
      devices is not covered.
      
      Fix this by adding basic suspend/resume timing instrumentation for
      devices whose bus types and device classes still don't use struct
      dev_pm_ops objects for power management.  To reduce code duplication
      move the timing code to helper functions.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      875ab0b7
    • L
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 · b8a7f3cd
      Linus Torvalds 提交于
      * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
        kill I_LOCK
        fold do_sync_file_range into sys_sync_file_range
        fix up O_SYNC comments
        VFS/fsstack: handle 32-bit smp + preempt + large files in fsstack_copy_inode_size
        fsstack/ecryptfs: remove unused get_nlinks param to fsstack_copy_attr_all
        vfs: remove extraneous NULL d_inode check from do_filp_open
        fs: no games with DCACHE_UNHASHED
        fs: anon_inodes implement dname
        dio: fix use-after-free
      b8a7f3cd
    • L
      Merge branch 'for-linus' of git://gitserver.sunplusct.com/linux-2.6-score · a377d181
      Linus Torvalds 提交于
      * 'for-linus' of git://gitserver.sunplusct.com/linux-2.6-score:
        score: include asm-generic/param.h in asm/delay.h.
        score: fixed pfn_valid define.
        score: add flush_dcahce_page and PG_dcache_dirty define
      a377d181
    • L
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6 · 22a80593
      Linus Torvalds 提交于
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lrg/voltage-2.6: (27 commits)
        regulator: wm831x_reg_read() failure unnoticed in wm831x_aldo_get_mode()
        twl-regulator: Fix reg_disable functionality for 4030 and 6030
        twl-regulator: Add turnon delay to reg_enable
        twl-regulator: Restore REMAP configuration in regulator probe
        twl-regulator: Add turnon-delay and REMAP config to twlreg_info struct
        twl-regulator: Define critical regulators as always_on
        twl-regulator: Add all twl4030 regulators to twlreg_info
        regulator: mc13783-regulator: correct the probing time.
        regulator: Fix unbalanced disables/enables in regulator_bulk_{enable,disable} error path
        regulator: core.c: Small coding style cleanup (indentation fixup)
        drivers/regulator: use PTR_ERR to get error code
        regulator: consumer.h - fix build when consumer.h is #included first.
        regulator/mc13783: various cleanups
        regulator/mc13783: rename source file to match other drivers
        Fix some AB3100 regulator issues
        regulator: keep index within bounds in da9034_get_ldo12_voltage()
        regulator: Ensure val is initialised in 88pm8607 choose_voltage()
        regulator: Remove duplicate consts from ab3100
        regulator: Handle regulators without suspend mode configuration
        regulator: Factor out regulator name pretty printing
        ...
      22a80593
    • C
      kill I_LOCK · eaff8079
      Christoph Hellwig 提交于
      After I_SYNC was split from I_LOCK the leftover is always used together with
      I_NEW and thus superflous.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      eaff8079
    • C
      fold do_sync_file_range into sys_sync_file_range · 7a0ad10c
      Christoph Hellwig 提交于
      We recently go rid of all callers of do_sync_file_range as they're better
      served with vfs_fsync or the filemap_write_and_wait.  Now that
      do_sync_file_range is down to a single caller fold it into it so that people
      don't start using it again accidentally.  While at it also switch it from
      using __filemap_fdatawrite_range(..., WB_SYNC_ALL) to the more clear
      filemap_fdatawrite_range().
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      7a0ad10c
    • C
      fix up O_SYNC comments · 76b7e005
      Christoph Hellwig 提交于
      Proper Posix O_SYNC handling only made it into 2.6.33, not 2.6.32.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      76b7e005
  2. 17 12月, 2009 33 次提交