From: Jan Beulich Date: Fri, 24 Sep 2010 12:25:30 +0000 (+0100) Subject: some clean up to intel-gtt.c X-Git-Tag: v2.6.37-rc1~92^2~28^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e61cb0d5fd172ab95a4501917526382f25158e83;p=pandora-kernel.git some clean up to intel-gtt.c In commit e517a5e97080bbe52857bd0d7df9b66602d53c4d the call to map_page_into_agp() got removed from intel_i830_setup_flush(), but the counterpart call from intel_i830_fini_flush() to unmap_page_from_agp() was left in place. Additionally, the page allocated here never gets its physical address used for sending to hardware, so there's no need to allocate it with GFP_DMA32. Nor is __GFP_ZERO really necessary, as the page is used only to store data to force flushing of some internal processor state. Signed-off-by: Jan Beulich Cc: Eric Anholt Signed-off-by: Chris Wilson --- Reading git-diff-tree failed