]> git.baikalelectronics.ru Git - kernel.git/commit
some clean up to intel-gtt.c
authorJan Beulich <JBeulich@novell.com>
Fri, 24 Sep 2010 12:25:30 +0000 (13:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Sep 2010 13:22:12 +0000 (14:22 +0100)
commitae979641733503d75f7f59e260743b72235648d1
tree5620faa45a505e54f61d26d34f8a4b69ad6ed80c
parentacd1c294a5e55aa627754e3478c445f999e6327e
some clean up to intel-gtt.c

In commit 9f51dd6a410350740d7f3591bbc06fff6eb5ddaa 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 <jbeulich@novell.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/char/agp/intel-gtt.c