diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-07-19 20:46:50 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-22 10:18:30 +0200 |
commit | 51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0 (patch) | |
tree | 07ee309627faa656fd971c9112bd253b3f06f5a0 /mm | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
download | linux-51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0.tar.bz2 |
x86/mm: Check for pfn instead of page in vmalloc_sync_one()
Do not require a struct page for the mapped memory location because it
might not exist. This can happen when an ioremapped region is mapped with
2MB pages.
Fixes: 5d72b4fba40ef ('x86, mm: support huge I/O mapping capability I/F')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20190719184652.11391-2-joro@8bytes.org
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions