Commit 13093cb0 authored by Ingo Molnar's avatar Ingo Molnar

gpu/drm, x86, PAT: PAT support for io_mapping_*, export symbols for modules

Impact: build fix

 ERROR: "reserve_io_memtype_wc" [drivers/gpu/drm/i915/i915.ko] undefined!
 ERROR: "free_io_memtype" [drivers/gpu/drm/i915/i915.ko] undefined!
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 2e31add2
...@@ -68,6 +68,7 @@ reserve_io_memtype_wc(u64 base, unsigned long size, pgprot_t *prot) ...@@ -68,6 +68,7 @@ reserve_io_memtype_wc(u64 base, unsigned long size, pgprot_t *prot)
out_err: out_err:
return -EINVAL; return -EINVAL;
} }
EXPORT_SYMBOL_GPL(reserve_io_memtype_wc);
void void
free_io_memtype(u64 base, unsigned long size) free_io_memtype(u64 base, unsigned long size)
...@@ -75,6 +76,7 @@ free_io_memtype(u64 base, unsigned long size) ...@@ -75,6 +76,7 @@ free_io_memtype(u64 base, unsigned long size)
if (pat_enabled) if (pat_enabled)
free_memtype(base, base + size); free_memtype(base, base + size);
} }
EXPORT_SYMBOL_GPL(free_io_memtype);
/* Map 'pfn' using fixed map 'type' and protections 'prot' /* Map 'pfn' using fixed map 'type' and protections 'prot'
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment