Skip to content
Commit 89ef1b54 authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

drm: missing init_mm symbol, compatibility fix



The drm_compat.c version of kmap_atomic_prot_pfn() uses the macro
pgd_offset_k(), which references the symbol init_mm.
Starting in 2.6.25, init_mm is no longer exported by default.

The only user of kmap_atomic_prot_pfn() is i915, so this should
not hurt anyone, and it allows people to load drm.ko.

Signed-off-by: default avatarPekka Paalanen <pq@iki.fi>
parent 145d2d61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment