]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SiS DRM: fix the memory allocator if the SIS FB is built as a module
authorDavid Howells <dhowells@redhat.com>
Wed, 30 Jul 2008 19:29:37 +0000 (12:29 -0700)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:09 +0000 (07:10 +1000)
commit6bb9e4bff5c6fd908d907222108ef5650d77972f
tree9b4712baaa55e585deeb37ac27172d549cd80f8c
parentddb7f4cb819fb6b9df261ce4c80b3c6f4852620d
SiS DRM: fix the memory allocator if the SIS FB is built as a module

Fix the SIS DRM memory allocator if the SIS FB built as a module.  The SIS DRM
code initialises the mm allocation hooks, but _only_ if the SIS FB is not
built as a module because it depends on CONFIG_FB_SIS, and that's unset if the
SIS FB is not built in.  It must check CONFIG_FB_SIS_MODULE as well.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/sis/sis_mm.c