linux_dsm_epyc7002/arch/x86
H. Peter Anvin c1c15b65ec 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 <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-12-24 10:40:19 +01:00
..
boot
configs
crypto
ia32
include/asm x86: PAT: move track untrack pfnmap stubs to asm-generic 2008-12-19 15:40:30 -08:00
kernel x86 Fix VMI crash on boot in 2.6.28-rc8 2008-12-14 16:24:38 -08:00
kvm
lguest
lib
mach-default
mach-generic
mach-rdc321x
mach-voyager
math-emu
mm x86: PAT: fix address types in track_pfn_vma_new() 2008-12-24 10:40:19 +01:00
oprofile
pci
power
vdso
video
xen
Kconfig
Kconfig.cpu
Kconfig.debug
Makefile
Makefile_32.cpu