From: David Howells Date: Wed, 30 Jul 2008 19:29:37 +0000 (-0700) Subject: SiS DRM: fix the memory allocator if the SIS FB is built as a module X-Git-Tag: v2.6.28-rc1~255^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb9e4bff5c6fd908d907222108ef5650d77972f;p=pandora-kernel.git 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 Cc: Dave Airlie Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie --- Reading git-diff-tree failed