diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-25 21:16:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-25 21:43:53 -0500 |
commit | 13093cb0e59053bf97910de3a24f07cdff71c62c (patch) | |
tree | 18af4bb7c97edd7f8133601cd4ade6e8a26ce4f1 | |
parent | 2e31add2a7e2a15d07f592c21ba35870fa9a1d1f (diff) |
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: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/mm/iomap_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/mm/iomap_32.c b/arch/x86/mm/iomap_32.c index 94596f794b1b..d5e28424622c 100644 --- a/arch/x86/mm/iomap_32.c +++ b/arch/x86/mm/iomap_32.c | |||
@@ -68,6 +68,7 @@ out_free: | |||
68 | out_err: | 68 | out_err: |
69 | return -EINVAL; | 69 | return -EINVAL; |
70 | } | 70 | } |
71 | EXPORT_SYMBOL_GPL(reserve_io_memtype_wc); | ||
71 | 72 | ||
72 | void | 73 | void |
73 | free_io_memtype(u64 base, unsigned long size) | 74 | free_io_memtype(u64 base, unsigned long size) |
@@ -75,6 +76,7 @@ free_io_memtype(u64 base, unsigned long size) | |||
75 | if (pat_enabled) | 76 | if (pat_enabled) |
76 | free_memtype(base, base + size); | 77 | free_memtype(base, base + size); |
77 | } | 78 | } |
79 | EXPORT_SYMBOL_GPL(free_io_memtype); | ||
78 | 80 | ||
79 | /* Map 'pfn' using fixed map 'type' and protections 'prot' | 81 | /* Map 'pfn' using fixed map 'type' and protections 'prot' |
80 | */ | 82 | */ |