1. 08 10月, 2010 2 次提交
    • F
      x86: Add two helper macros for fixed address mapping · 5a47c7da
      Feng Tang 提交于
      Sometimes fixmap will be used to map an physical address which
      is not PAGE align, so to use it we need first map it and then
      add the address offset to the mapped fixed address. These 2 new
      helpers are suggested by Ingo Molnar to make the process
      simpler.
      
      For a physicall address like "phys", a directly usable virtual
      address can be get by
      	virt = (void *)set_fixmap_offset(fixed_idx, phys);
      or
      	virt = (void *)set_fixmap_offset_nocache(fixed_idx, phys);
      (depends on whether the physical address is cachable or not).
      Signed-off-by: NFeng Tang <feng.tang@intel.com>
      Cc: alan@linux.intel.com
      Cc: greg@kroah.com
      Cc: x86@kernel.org
      LKML-Reference: <1284361736-23011-3-git-send-email-feng.tang@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      5a47c7da
    • H
      x86, mrst: A function in a header file needs to be marked "inline" · 55572b29
      H. Peter Anvin 提交于
      A function in a header file needs to be explicitly marked "inline", or
      gcc will complain if it is not used.
      Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
      Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
      Cc: <stable@kernel.org> v2.6.36
      LKML-Reference: <1274295685-6774-3-git-send-email-jacob.jun.pan@linux.intel.com>
      55572b29
  2. 07 10月, 2010 5 次提交
  3. 06 10月, 2010 5 次提交
  4. 05 10月, 2010 28 次提交