drm: missing init_mm symbol, compatibility fix
authorPekka Paalanen <pq@iki.fi>
Mon, 27 Oct 2008 19:21:15 +0000 (21:21 +0200)
committerPekka Paalanen <pq@iki.fi>
Mon, 27 Oct 2008 19:21:15 +0000 (21:21 +0200)
commit89ef1b5483bb234278fe40e193643fc9777f50d4
tree98ae3141db60155ba578f5e877b8f62ebe5ae6f4
parent145d2d610b90b6129bbbebd1e1f8c71f9147cbde
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: Pekka Paalanen <pq@iki.fi>
linux-core/drm_compat.h