diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-12-23 19:10:40 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-24 10:40:19 +0100 |
commit | c1c15b65ec30275575dac9322aae607075769fbc (patch) | |
tree | d7e48801291eb6d3f70b05e6e8ffa2fe75ebae3c /drivers/acpi | |
parent | x86: PAT: pfnmap documentation update changes (diff) | |
download | linux-c1c15b65ec30275575dac9322aae607075769fbc.tar.xz linux-c1c15b65ec30275575dac9322aae607075769fbc.zip |
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>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions