From: Thomas Hellstrom Date: Tue, 18 Aug 2009 14:51:56 +0000 (+0200) Subject: ttm: Make parts of a struct ttm_bo_device global. X-Git-Tag: v2.6.32-rc1~52^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a987fcaa805fcb24ba885c2e29fd4fdb6816f08f;p=pandora-kernel.git ttm: Make parts of a struct ttm_bo_device global. Common resources, like memory accounting and swap lists should be global and not per device. Introduce a struct ttm_bo_global to accomodate this, and register it with sysfs. Add a small sysfs interface to return the number of active buffer objects. Signed-off-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed