From: Christoph Hellwig Date: Mon, 23 Apr 2007 19:08:07 +0000 (+0200) Subject: [POWERPC] spufs: clear mapping pointers after last close X-Git-Tag: v2.6.22-rc1~1109^2~72^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43c2bbd932b66403688f3d812065d82f8fb8f4b3;p=pandora-kernel.git [POWERPC] spufs: clear mapping pointers after last close Make sure the pointers to various mappings are cleared once the last user stopped using them. This avoids accessing freed memory when tearing down the gang directory aswell as optimizing away pte invalidations if no one uses these. Signed-off-by: Christoph Hellwig Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed