linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] - Unmap driver ptes - GRU
@ 2008-07-08 16:38 Jack Steiner
  0 siblings, 0 replies; only message in thread
From: Jack Steiner @ 2008-07-08 16:38 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm

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

Signed-off-by: Jack Steiner <steiner@sgi.com>

---
 drivers/misc/sgi-gru/grumain.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/drivers/misc/sgi-gru/grumain.c
===================================================================
--- linux.orig/drivers/misc/sgi-gru/grumain.c	2008-07-07 12:16:23.000000000 -0500
+++ linux/drivers/misc/sgi-gru/grumain.c	2008-07-07 12:21:14.321933793 -0500
@@ -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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-08 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-08 16:38 [PATCH 2/2] - Unmap driver ptes - GRU Jack Steiner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox