1. 09 Feb, 2008 4 commits
    • Len Brown's avatar
      249d621a
    • Len Brown's avatar
      ACPI: thermal: buildfix for CONFIG_THERMAL=n · a0dd25b2
      Len Brown authored
      This fixes the build, but acpi_fan_add() still needs
      to be updated to handle thermal_cooling_device_register()
      returning NULL as a non-fatal condition.
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      a0dd25b2
    • Venki Pallipadi's avatar
      cpuidle: build fix for non-x86 · a6869cc4
      Venki Pallipadi authored
      The last posted version of this patch gave compile error
      on IA64. So, here goes yet another rewrite of the patch.
      
      Convert cpu_idle_wait() to cpuidle_kick_cpus() which is
      SMP-only, and gives error on non supported CPU.
      
      Changes from last patch sent by Kevin:
      Moved the definition of kick_cpus back to cpuidle.c from cpuidle.h:
      * Having it in .h gives #error on archs which includes the header file without
        actually having CPU_IDLE configured. To make it work in .h, we need one more
        #ifdef around that code which makes it messy.
      * Also, the function is only called from one file. So, it can be in declared
        statically in .c rather than making it available to everyone who includes
        the .h file.
      Signed-off-by: default avatarVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
      Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      a6869cc4
    • Nick Piggin's avatar
      mm: special mapping nopage · b1d0e4f5
      Nick Piggin authored
      Convert special mapping install from nopage to fault.
      
      Because the "vm_file" is NULL for the special mapping, the generic VM
      code has messed up "vm_pgoff" thinking that it's an anonymous mapping
      and the offset does't matter.  For that reason, we need to undo the
      vm_pgoff offset that got added into vmf->pgoff.
      
      [ We _really_ should clean that up - either by making this whole special
        mapping code just use a real file entry rather than that ugly array of
        "struct page" pointers, or by just making the VM code realize that
        even if vm_file is NULL it may not be a regular anonymous mmap.
      							 - Linus ]
      Signed-off-by: default avatarNick Piggin <npiggin@suse.de>
      Cc: linux-mm@kvack.org
      Cc: linux-kernel@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      b1d0e4f5
  2. 08 Feb, 2008 36 commits