1. 01 12月, 2009 12 次提交
  2. 30 11月, 2009 3 次提交
  3. 28 11月, 2009 1 次提交
  4. 25 11月, 2009 1 次提交
    • H
      [CPUFREQ] Enable ACPI PDC handshake for VIA/Centaur CPUs · d77b8197
      Harald Welte 提交于
      In commit 0de51088, we introduced the
      use of acpi-cpufreq on VIA/Centaur CPU's by removing a vendor check for
      VENDOR_INTEL.  However, as it turns out, at least the Nano CPU's also
      need the PDC (processor driver capabilities) handshake in order to
      activate the methods required for acpi-cpufreq.
      
      Since arch_acpi_processor_init_pdc() contains another vendor check for
      Intel, the PDC is not initialized on VIA CPU's.  The resulting behavior
      of a current mainline kernel on such systems is:  acpi-cpufreq
      loads and it indicates CPU frequency changes.  However, the CPU stays at
      a single frequency
      
      This trivial patch ensures that init_intel_pdc() is called on Intel and
      VIA/Centaur CPU's alike.
      Signed-off-by: NHarald Welte <HaraldWelte@viatech.com>
      Signed-off-by: NDave Jones <davej@redhat.com>
      d77b8197
  5. 24 11月, 2009 12 次提交
  6. 23 11月, 2009 2 次提交
  7. 21 11月, 2009 3 次提交
    • D
      FS-Cache: Provide nop fscache_stat_d() if CONFIG_FSCACHE_STATS=n · 4fa9f4ed
      David Howells 提交于
      Provide nop fscache_stat_d() macro if CONFIG_FSCACHE_STATS=n lest errors like
      the following occur:
      
      	fs/fscache/cache.c: In function 'fscache_withdraw_cache':
      	fs/fscache/cache.c:386: error: implicit declaration of function 'fscache_stat_d'
      	fs/fscache/cache.c:386: error: 'fscache_n_cop_sync_cache' undeclared (first use in this function)
      	fs/fscache/cache.c:386: error: (Each undeclared identifier is reported only once
      	fs/fscache/cache.c:386: error: for each function it appears in.)
      	fs/fscache/cache.c:392: error: 'fscache_n_cop_dissociate_pages' undeclared (first use in this function)
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      4fa9f4ed
    • D
      SLOW_WORK: Fix GFS2 to #include <linux/module.h> before using THIS_MODULE · 1c2ea8a2
      David Howells 提交于
      GFS2 has been altered to pass THIS_MODULE to slow_work_register_user(), but
      hasn't been altered to #include <linux/module.h> to provide it, resulting in
      the following error:
      
      	fs/gfs2/recovery.c:596: error: 'THIS_MODULE' undeclared here (not in a function)
      
      Add the missing #include.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      1c2ea8a2
    • D
      SLOW_WORK: Fix CIFS to pass THIS_MODULE to slow_work_register_user() · 0109d7e6
      David Howells 提交于
      As of the patch:
      
      	SLOW_WORK: Wait for outstanding work items belonging to a module to clear
      
      	Wait for outstanding slow work items belonging to a module to clear
      	when unregistering that module as a user of the facility.  This
      	prevents the put_ref code of a work item from being taken away before
      	it returns.
      
      slow_work_register_user() takes a module pointer as an argument.  CIFS must now
      pass THIS_MODULE as that argument, lest the following error be observed:
      
      	fs/cifs/cifsfs.c: In function 'init_cifs':
      	fs/cifs/cifsfs.c:1040: error: too few arguments to function 'slow_work_register_user'
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      0109d7e6
  8. 20 11月, 2009 6 次提交