From: H. Peter Anvin Date: Tue, 23 Dec 2008 18:10:40 +0000 (-0800) Subject: x86: PAT: fix address types in track_pfn_vma_new() X-Git-Tag: v2.6.29-rc1~587^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1c15b65ec30275575dac9322aae607075769fbc;p=pandora-kernel.git x86: PAT: fix address types in track_pfn_vma_new() Impact: cleanup, fix warning This warning: arch/x86/mm/pat.c: In function track_pfn_vma_copy: arch/x86/mm/pat.c:701: warning: passing argument 5 of follow_phys from incompatible pointer type Triggers because physical addresses are resource_size_t, not u64. This really matters when calling an interface like follow_phys() which takes a pointer to a physical address -- although on x86, being littleendian, it would generally work anyway as long as the memory region wasn't completely uninitialized. Signed-off-by: H. Peter Anvin Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed