Skip to contentSkip to conversation

- Unmap driver ptes - GRU

PATCH In review Jack Steiner 1 participant 1 message Jul 8, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 - Unmap driver ptes - GRU

Change the GRU driver to use the new zap_vma_ptes() interface.

---
 drivers/misc/sgi-gru/grumain.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/misc/sgi-gru/grumain.c +1 -1
Index: linux/drivers/misc/sgi-gru/grumain.c
===================================================================
@@ -489,7 +489,7 @@ void gru_unload_context(struct gru_threa
 	struct gru_context_configuration_handle *cch;
 	int ctxnum = gts->ts_ctxnum;
 
-	zap_page_range(gts->ts_vma, UGRUADDR(gts), GRU_GSEG_PAGESIZE, NULL);
+	zap_vma_ptes(gts->ts_vma, UGRUADDR(gts), GRU_GSEG_PAGESIZE);
 	cch = get_cch(gru->gs_gru_base_vaddr, ctxnum);
 
 	lock_cch_handle(cch);

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>